protected abstract class LoggingConnectionDecorator.LoggingConnection.LoggingStatement extends DelegatingStatement
Constructor and Description |
---|
LoggingConnectionDecorator.LoggingConnection.LoggingStatement(java.sql.Statement stmnt) |
Modifier and Type | Method and Description |
---|---|
void |
appendInfo(java.lang.StringBuffer buf) |
void |
cancel() |
boolean |
execute(java.lang.String sql) |
protected java.sql.ResultSet |
executeQuery(java.lang.String sql,
boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet , which is the default. |
int |
executeUpdate(java.lang.String sql) |
protected java.sql.ResultSet |
wrapResult(java.sql.ResultSet rs,
boolean wrap) |
addBatch, clearBatch, clearWarnings, close, enforceAbstract, equals, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, getConnection, getDelegate, getFetchDirection, getFetchSize, getGeneratedKeys, getInnermostDelegate, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, hashCode, isWrapperFor, newInstance, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, toString, unwrap
public LoggingConnectionDecorator.LoggingConnection.LoggingStatement(java.sql.Statement stmnt) throws java.sql.SQLException
java.sql.SQLException
public void appendInfo(java.lang.StringBuffer buf)
appendInfo
in class DelegatingStatement
protected java.sql.ResultSet wrapResult(java.sql.ResultSet rs, boolean wrap)
wrapResult
in class DelegatingStatement
public void cancel() throws java.sql.SQLException
cancel
in interface java.sql.Statement
cancel
in class DelegatingStatement
java.sql.SQLException
protected java.sql.ResultSet executeQuery(java.lang.String sql, boolean wrap) throws java.sql.SQLException
DelegatingStatement
DelegatingResultSet
, which is the default.executeQuery
in class DelegatingStatement
java.sql.SQLException
public int executeUpdate(java.lang.String sql) throws java.sql.SQLException
executeUpdate
in interface java.sql.Statement
executeUpdate
in class DelegatingStatement
java.sql.SQLException
public boolean execute(java.lang.String sql) throws java.sql.SQLException
execute
in interface java.sql.Statement
execute
in class DelegatingStatement
java.sql.SQLException