protected 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) |
boolean |
execute(java.lang.String sql,
int i) |
boolean |
execute(java.lang.String sql,
int[] ia) |
boolean |
execute(java.lang.String sql,
java.lang.String[] sa) |
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) |
int |
executeUpdate(java.lang.String sql,
int i) |
int |
executeUpdate(java.lang.String sql,
int[] ia) |
int |
executeUpdate(java.lang.String sql,
java.lang.String[] sa) |
protected java.sql.ResultSet |
wrapResult(java.sql.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, unwrappublic LoggingConnectionDecorator.LoggingConnection.LoggingStatement(java.sql.Statement stmnt)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void appendInfo(java.lang.StringBuffer buf)
appendInfo in class DelegatingStatementprotected java.sql.ResultSet wrapResult(java.sql.ResultSet rs,
boolean wrap)
wrapResult in class DelegatingStatementpublic void cancel()
throws java.sql.SQLException
cancel in interface java.sql.Statementcancel in class DelegatingStatementjava.sql.SQLExceptionprotected java.sql.ResultSet executeQuery(java.lang.String sql,
boolean wrap)
throws java.sql.SQLException
DelegatingStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String sql)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String sql)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String sql,
int i)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String sql,
int[] ia)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String sql,
java.lang.String[] sa)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String sql,
int i)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String sql,
int[] ia)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String sql,
java.lang.String[] sa)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingStatementjava.sql.SQLExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.