|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.jdbc.DelegatingConnection org.apache.openjpa.jdbc.sql.SybaseDictionary.SybaseConnection
protected abstract static class SybaseDictionary.SybaseConnection
Connection wrapper to cache the Connection.getCatalog()
result,
which takes a very long time with the Sybase Connection (and
which we frequently invoke).
Field Summary |
---|
Fields inherited from interface java.sql.Connection |
---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Constructor Summary | |
---|---|
SybaseDictionary.SybaseConnection(Connection conn)
|
Method Summary | |
---|---|
String |
getCatalog()
|
void |
setAutoCommit(boolean autocommit)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.sql.Connection |
---|
createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStruct, getClientInfo, getClientInfo, isValid, setClientInfo, setClientInfo |
Constructor Detail |
---|
public SybaseDictionary.SybaseConnection(Connection conn)
Method Detail |
---|
public String getCatalog() throws SQLException
getCatalog
in interface Connection
getCatalog
in class DelegatingConnection
SQLException
public void setAutoCommit(boolean autocommit) throws SQLException
setAutoCommit
in interface Connection
setAutoCommit
in class DelegatingConnection
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |