| java.lang.Object org.isqlviewer.sql.ConnectionWrapper
ConnectionWrapper | class ConnectionWrapper implements Connection(Code) | | TODO Add ConnectionWrapper Overview JavaDoc.
author: Mark A. Kobold <mkobold at isqlviewer dot com> version: 1.0 |
Method Summary | |
void | add(StatementWrapper statement) | public void | clearWarnings() | public void | close() | void | closeStatements(boolean cursorsOnly) | public void | commit() | public Statement | createStatement() | public Statement | createStatement(int resultSetType, int resultSetConcurrency) | public Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) | SQLException | createWrappedSQLException(Throwable t, String method) | protected void | error(Object message, Throwable error) | protected void | error(Object message) | public boolean | getAutoCommit() | public String | getCatalog() | protected Connection | getConnection() | public int | getHoldability() | long | getLastAccess() Returns when this connection was last checked out; 0 if it has never been used. | public synchronized DatabaseMetaData | getMetaData() | public int | getTransactionIsolation() | public Map<String, Class<?>> | getTypeMap() | public SQLWarning | getWarnings() | protected void | guardConnection() | public int | hashCode() | protected void | info(Object message, Throwable error) | protected void | info(Object message) | public boolean | isClosed() | boolean | isIdle(int timeout) | public boolean | isReadOnly() | public String | nativeSQL(String sql) | public CallableStatement | prepareCall(String sql) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) | 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 void | releaseSavepoint(Savepoint savepoint) | void | remove(StatementWrapper statement) | public void | rollback() | public void | rollback(Savepoint savepoint) | public void | setAutoCommit(boolean autoCommit) | public void | setCatalog(String catalog) | public void | setHoldability(int holdability) | public void | setReadOnly(boolean readOnly) | public Savepoint | setSavepoint() | public Savepoint | setSavepoint(String name) | public void | setTransactionIsolation(int level) | public void | setTypeMap(Map<String, Class<?>> map) | protected boolean | supportsOpenCursorsAcrossCommit() | protected boolean | supportsOpenCursorsAcrossRollback() | protected boolean | supportsOpenStatementsAcrossCommit() | protected boolean | supportsOpenStatementsAcrossRollback() | protected boolean | supportsStatementPooling() | protected void | trace(Object message, Throwable error) | protected void | trace(Object message) | synchronized void | updateLastAccess() Returns when this connection was last checked out; 0 if it has never been used. | protected void | warn(Object message, Throwable error) | protected void | warn(Object message) |
closeStatements | void closeStatements(boolean cursorsOnly) throws SQLException(Code) | | Closes all PreparedStatments and CallableStatements
|
createStatement | public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code) | | |
getLastAccess | long getLastAccess()(Code) | | Returns when this connection was last checked out; 0 if it has never been used.
|
hashCode | public int hashCode()(Code) | | |
isIdle | boolean isIdle(int timeout)(Code) | | |
setTransactionIsolation | public void setTransactionIsolation(int level) throws SQLException(Code) | | |
supportsOpenCursorsAcrossCommit | protected boolean supportsOpenCursorsAcrossCommit()(Code) | | |
supportsOpenCursorsAcrossRollback | protected boolean supportsOpenCursorsAcrossRollback()(Code) | | |
supportsOpenStatementsAcrossCommit | protected boolean supportsOpenStatementsAcrossCommit()(Code) | | |
supportsOpenStatementsAcrossRollback | protected boolean supportsOpenStatementsAcrossRollback()(Code) | | |
supportsStatementPooling | protected boolean supportsStatementPooling()(Code) | | |
updateLastAccess | synchronized void updateLastAccess() throws SQLException(Code) | | Returns when this connection was last checked out; 0 if it has never been used.
|
|
|