- java.lang.Object
- 
- org.jooq.tools.jdbc.JDBC41Connection
- 
- org.jooq.tools.jdbc.DefaultConnection
- 
- org.jooq.tools.jdbc.LoggingConnection
 
 
 
- 
- All Implemented Interfaces:
- AutoCloseable,- Connection,- Wrapper
 
 public class LoggingConnection extends DefaultConnection - Author:
- Lukas Eder
 
- 
- 
Field Summary- 
Fields inherited from interface java.sql.ConnectionTRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
- 
 - 
Constructor SummaryConstructors Constructor Description LoggingConnection(Connection delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StatementcreateStatement()StatementcreateStatement(int resultSetType, int resultSetConcurrency)StatementcreateStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)StringnativeSQL(String sql)CallableStatementprepareCall(String sql)CallableStatementprepareCall(String sql, int resultSetType, int resultSetConcurrency)CallableStatementprepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)PreparedStatementprepareStatement(String sql)PreparedStatementprepareStatement(String sql, int autoGeneratedKeys)PreparedStatementprepareStatement(String sql, int[] columnIndexes)PreparedStatementprepareStatement(String sql, int resultSetType, int resultSetConcurrency)PreparedStatementprepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)PreparedStatementprepareStatement(String sql, String[] columnNames)- 
Methods inherited from class org.jooq.tools.jdbc.DefaultConnectionabort, beginRequest, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStruct, endRequest, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getDelegate, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, isWrapperFor, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid, setTransactionIsolation, setTypeMap, unwrap
 
- 
 
- 
- 
- 
Constructor Detail- 
LoggingConnectionpublic LoggingConnection(Connection delegate) 
 
- 
 - 
Method Detail- 
createStatementpublic Statement createStatement() throws SQLException - Specified by:
- createStatementin interface- Connection
- Overrides:
- createStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
createStatementpublic Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException - Specified by:
- createStatementin interface- Connection
- Overrides:
- createStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
createStatementpublic Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - Specified by:
- createStatementin interface- Connection
- Overrides:
- createStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareStatementpublic PreparedStatement prepareStatement(String sql) throws SQLException - Specified by:
- prepareStatementin interface- Connection
- Overrides:
- prepareStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareStatementpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException - Specified by:
- prepareStatementin interface- Connection
- Overrides:
- prepareStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareStatementpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - Specified by:
- prepareStatementin interface- Connection
- Overrides:
- prepareStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareStatementpublic PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException - Specified by:
- prepareStatementin interface- Connection
- Overrides:
- prepareStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareStatementpublic PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException - Specified by:
- prepareStatementin interface- Connection
- Overrides:
- prepareStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareStatementpublic PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException - Specified by:
- prepareStatementin interface- Connection
- Overrides:
- prepareStatementin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareCallpublic CallableStatement prepareCall(String sql) throws SQLException - Specified by:
- prepareCallin interface- Connection
- Overrides:
- prepareCallin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareCallpublic CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException - Specified by:
- prepareCallin interface- Connection
- Overrides:
- prepareCallin class- DefaultConnection
- Throws:
- SQLException
 
 - 
prepareCallpublic CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - Specified by:
- prepareCallin interface- Connection
- Overrides:
- prepareCallin class- DefaultConnection
- Throws:
- SQLException
 
 - 
nativeSQLpublic String nativeSQL(String sql) throws SQLException - Specified by:
- nativeSQLin interface- Connection
- Overrides:
- nativeSQLin class- DefaultConnection
- Throws:
- SQLException
 
 
- 
 
-