org.apache.openjpa.jdbc.sql
protected abstract static class SybaseDictionary.SybaseConnection extends DelegatingConnection
Connection.getCatalog() result,
which takes a very long time with the Sybase Connection (and
which we frequently invoke).| Constructor and Description |
|---|
SybaseDictionary.SybaseConnection(java.sql.Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCatalog() |
void |
setAutoCommit(boolean autocommit) |
appendInfo, clearWarnings, close, commit, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, enforceAbstract, equals, getAutoCommit, getDelegate, getHoldability, getInnermostDelegate, getMetaData, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, hashCode, isClosed, isReadOnly, isWrapperFor, nativeSQL, newInstance, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, toString, unwrappublic SybaseDictionary.SybaseConnection(java.sql.Connection conn)
public java.lang.String getCatalog()
throws java.sql.SQLException
getCatalog in interface java.sql.ConnectiongetCatalog in class DelegatingConnectionjava.sql.SQLExceptionpublic void setAutoCommit(boolean autocommit)
throws java.sql.SQLException
setAutoCommit in interface java.sql.ConnectionsetAutoCommit in class DelegatingConnectionjava.sql.SQLException