protected class LoggingConnectionDecorator.LoggingConnection.LoggingStatement extends DelegatingStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
LoggingStatement(Statement stmnt) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendInfo(StringBuffer buf) |
void |
cancel() |
boolean |
execute(String sql) |
boolean |
execute(String sql,
int i) |
boolean |
execute(String sql,
int[] ia) |
boolean |
execute(String sql,
String[] sa) |
protected ResultSet |
executeQuery(String sql,
boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet, which is the default. |
int |
executeUpdate(String sql) |
int |
executeUpdate(String sql,
int i) |
int |
executeUpdate(String sql,
int[] ia) |
int |
executeUpdate(String sql,
String[] sa) |
protected ResultSet |
wrapResult(ResultSet rs,
boolean wrap) |
addBatch, clearBatch, clearWarnings, close, closeOnCompletion, equals, executeBatch, executeQuery, getConnection, getDelegate, getFetchDirection, getFetchSize, getGeneratedKeys, getInnermostDelegate, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, hashCode, initialize, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, toString, unwrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowspublic LoggingStatement(Statement stmnt) throws SQLException
SQLExceptionpublic void appendInfo(StringBuffer buf)
appendInfo in class DelegatingStatementprotected ResultSet wrapResult(ResultSet rs, boolean wrap)
wrapResult in class DelegatingStatementpublic void cancel()
throws SQLException
cancel in interface Statementcancel in class DelegatingStatementSQLExceptionprotected ResultSet executeQuery(String sql, boolean wrap) throws SQLException
DelegatingStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingStatementSQLExceptionpublic int executeUpdate(String sql) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class DelegatingStatementSQLExceptionpublic boolean execute(String sql) throws SQLException
execute in interface Statementexecute in class DelegatingStatementSQLExceptionpublic int executeUpdate(String sql, int i) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class DelegatingStatementSQLExceptionpublic int executeUpdate(String sql, int[] ia) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class DelegatingStatementSQLExceptionpublic int executeUpdate(String sql, String[] sa) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class DelegatingStatementSQLExceptionpublic boolean execute(String sql, int i) throws SQLException
execute in interface Statementexecute in class DelegatingStatementSQLExceptionpublic boolean execute(String sql, int[] ia) throws SQLException
execute in interface Statementexecute in class DelegatingStatementSQLExceptionpublic boolean execute(String sql, String[] sa) throws SQLException
execute in interface Statementexecute in class DelegatingStatementSQLExceptionCopyright © 2006–2022 Apache Software Foundation. All rights reserved.