| java.lang.Object com.versant.core.jdbc.conn.LoggingConnection
All known Subclasses: com.versant.core.jdbc.conn.PooledConnection,
LoggingConnection | public class LoggingConnection implements Connection(Code) | | A JDBC connection wrapped for event logging with a PreparedStatement cache.
These concerns should really be separated but we have not had time to do
that yet.
|
Method Summary | |
public void | clearWarnings() | public void | close() This is just going to return the connection to the pool. | public void | closeRealConnection() Realy close this connection i.e. | public void | commit() | public Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public Statement | createStatement(int resultSetType, int resultSetConcurrency) | public Statement | createStatement() | public boolean | getAutoCommit() | public String | getCatalog() | public java.sql.Connection | getCon() | public int | getHoldability() | public DatabaseMetaData | getMetaData() | public PreparedStatementPool | getPsPool() | public int | getTransactionIsolation() | public java.util.Map | getTypeMap() | public SQLWarning | getWarnings() | public boolean | isClosed() | public boolean | isNeedsValidation() | public boolean | isReadOnly() | public String | nativeSQL(String sql) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) | public CallableStatement | prepareCall(String sql) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql, int autoGeneratedKeys) | public PreparedStatement | prepareStatement(String sql, int columnIndexes) | public PreparedStatement | prepareStatement(String sql, String columnNames) | public PreparedStatement | prepareStatement(String sql) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) | public PooledPreparedStatement | prepareStatementImp(String sql, int resultSetType, int resultSetConcurrency, PreparedStatementPool.Key key) Create a new ps. | public void | releaseSavepoint(Savepoint savepoint) | public void | returnPreparedStatement(PooledPreparedStatement ps) Return ps to the pool. | public void | rollback(Savepoint savepoint) | public void | rollback() | public void | setAutoCommit(boolean autoCommit) | public void | setCatalog(String catalog) | public void | setHoldability(int holdability) | public void | setNeedsValidation(boolean needsValidation) | public void | setReadOnly(boolean readOnly) | public Savepoint | setSavepoint() | public Savepoint | setSavepoint(String name) | public void | setTransactionIsolation(int level) | public void | setTypeMap(java.util.Map map) |
close | public void close() throws SQLException(Code) | | This is just going to return the connection to the pool.
|
closeRealConnection | public void closeRealConnection() throws SQLException(Code) | | Realy close this connection i.e. do not return it to the pool.
|
createStatement | public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code) | | |
isNeedsValidation | public boolean isNeedsValidation()(Code) | | |
setNeedsValidation | public void setNeedsValidation(boolean needsValidation)(Code) | | |
setTransactionIsolation | public void setTransactionIsolation(int level) throws SQLException(Code) | | |
|
|