protected class LoggingConnectionDecorator.LoggingConnection.LoggingCallableStatement extends DelegatingCallableStatement
LoggingConnectionDecorator.LoggingConnection.LoggingPreparedStatement but can not be extended
due to the existing delegation hierarchy.CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
LoggingCallableStatement(CallableStatement stmt,
String sql) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
protected void |
appendInfo(StringBuffer buf) |
void |
cancel() |
protected void |
clearLogParameters(boolean batch) |
void |
clearParameters() |
boolean |
execute() |
boolean |
execute(String sql) |
boolean |
execute(String s,
int i) |
boolean |
execute(String s,
int[] ia) |
boolean |
execute(String s,
String[] sa) |
int[] |
executeBatch() |
protected ResultSet |
executeQuery(boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet, which is the default. |
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() |
int |
executeUpdate(String sql) |
int |
executeUpdate(String s,
int i) |
int |
executeUpdate(String s,
int[] ia) |
int |
executeUpdate(String s,
String[] sa) |
ResultSetMetaData |
getMetaData() |
void |
setArray(int i,
Array a) |
void |
setAsciiStream(int i1,
InputStream is,
int i2) |
void |
setBigDecimal(int i,
BigDecimal bd) |
void |
setBinaryStream(int i1,
InputStream is,
int i2) |
void |
setBlob(int i,
Blob b) |
void |
setBoolean(int i,
boolean b) |
void |
setByte(int i,
byte b) |
void |
setBytes(int i,
byte[] b) |
void |
setCharacterStream(int i1,
Reader r,
int i2) |
void |
setClob(int i,
Clob c) |
void |
setDate(int i,
Date d) |
void |
setDate(int i,
Date d,
Calendar c) |
void |
setDouble(int i,
double d) |
void |
setFloat(int i,
float f) |
void |
setInt(int i1,
int i2) |
void |
setLong(int i,
long l) |
void |
setNull(int i1,
int i2) |
void |
setNull(int i1,
int i2,
String s) |
void |
setObject(int i,
Object o) |
void |
setObject(int i1,
Object o,
int i2) |
void |
setObject(int i1,
Object o,
int i2,
int i3) |
void |
setRef(int i,
Ref r) |
void |
setShort(int i,
short s) |
void |
setString(int i,
String s) |
void |
setTime(int i,
Time t) |
void |
setTime(int i,
Time t,
Calendar c) |
void |
setTimestamp(int i,
Timestamp t) |
void |
setTimestamp(int i,
Timestamp t,
Calendar c) |
void |
setUnicodeStream(int i1,
InputStream is,
int i2)
Deprecated.
|
void |
setURL(int i,
URL u) |
protected ResultSet |
wrapResult(ResultSet rs,
boolean wrap) |
addBatch, clearBatch, clearWarnings, close, closeOnCompletion, equals, executeQuery, executeQuery, getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConnection, getDate, getDate, getDate, getDate, getDelegate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getGeneratedKeys, getInnermostDelegate, getInt, getInt, getLong, getLong, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getParameterMetaData, getQueryTimeout, getRef, getRef, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getUpdateCount, getURL, getURL, getWarnings, hashCode, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClob, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNClob, setNClob, setNClob, setNString, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setQueryTimeout, setRowId, setRowId, setShort, setSQLXML, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, toString, unwrap, wasNull, wrapResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitregisterOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setObject, setObjectexecuteLargeUpdate, setObject, setObjectexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowspublic LoggingCallableStatement(CallableStatement stmt, String sql) throws SQLException
SQLExceptionprotected ResultSet executeQuery(String sql, boolean wrap) throws SQLException
DelegatingCallableStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingCallableStatementSQLExceptionpublic int executeUpdate(String sql) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class DelegatingCallableStatementSQLExceptionpublic boolean execute(String sql) throws SQLException
execute in interface Statementexecute in class DelegatingCallableStatementSQLExceptionprotected ResultSet executeQuery(boolean wrap) throws SQLException
DelegatingCallableStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingCallableStatementSQLExceptionpublic int executeUpdate()
throws SQLException
executeUpdate in interface PreparedStatementexecuteUpdate in class DelegatingCallableStatementSQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch in interface StatementexecuteBatch in class DelegatingCallableStatementSQLExceptionpublic boolean execute()
throws SQLException
execute in interface PreparedStatementexecute in class DelegatingCallableStatementSQLExceptionpublic int executeUpdate(String s, int i) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class DelegatingCallableStatementSQLExceptionpublic int executeUpdate(String s, int[] ia) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class DelegatingCallableStatementSQLExceptionpublic int executeUpdate(String s, String[] sa) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class DelegatingCallableStatementSQLExceptionpublic boolean execute(String s, int i) throws SQLException
execute in interface Statementexecute in class DelegatingCallableStatementSQLExceptionpublic boolean execute(String s, int[] ia) throws SQLException
execute in interface Statementexecute in class DelegatingCallableStatementSQLExceptionpublic boolean execute(String s, String[] sa) throws SQLException
execute in interface Statementexecute in class DelegatingCallableStatementSQLExceptionpublic void cancel()
throws SQLException
cancel in interface Statementcancel in class DelegatingCallableStatementSQLExceptionpublic void setNull(int i1,
int i2)
throws SQLException
setNull in interface PreparedStatementsetNull in class DelegatingCallableStatementSQLExceptionpublic void setBoolean(int i,
boolean b)
throws SQLException
setBoolean in interface PreparedStatementsetBoolean in class DelegatingCallableStatementSQLExceptionpublic void setByte(int i,
byte b)
throws SQLException
setByte in interface PreparedStatementsetByte in class DelegatingCallableStatementSQLExceptionpublic void setShort(int i,
short s)
throws SQLException
setShort in interface PreparedStatementsetShort in class DelegatingCallableStatementSQLExceptionpublic void setInt(int i1,
int i2)
throws SQLException
setInt in interface PreparedStatementsetInt in class DelegatingCallableStatementSQLExceptionpublic void setLong(int i,
long l)
throws SQLException
setLong in interface PreparedStatementsetLong in class DelegatingCallableStatementSQLExceptionpublic void setFloat(int i,
float f)
throws SQLException
setFloat in interface PreparedStatementsetFloat in class DelegatingCallableStatementSQLExceptionpublic void setDouble(int i,
double d)
throws SQLException
setDouble in interface PreparedStatementsetDouble in class DelegatingCallableStatementSQLExceptionpublic void setBigDecimal(int i,
BigDecimal bd)
throws SQLException
setBigDecimal in interface PreparedStatementsetBigDecimal in class DelegatingCallableStatementSQLExceptionpublic void setString(int i,
String s)
throws SQLException
setString in interface PreparedStatementsetString in class DelegatingCallableStatementSQLExceptionpublic void setBytes(int i,
byte[] b)
throws SQLException
setBytes in interface PreparedStatementsetBytes in class DelegatingCallableStatementSQLExceptionpublic void setDate(int i,
Date d)
throws SQLException
setDate in interface PreparedStatementsetDate in class DelegatingCallableStatementSQLExceptionpublic void setTime(int i,
Time t)
throws SQLException
setTime in interface PreparedStatementsetTime in class DelegatingCallableStatementSQLExceptionpublic void setTimestamp(int i,
Timestamp t)
throws SQLException
setTimestamp in interface PreparedStatementsetTimestamp in class DelegatingCallableStatementSQLExceptionpublic void setAsciiStream(int i1,
InputStream is,
int i2)
throws SQLException
setAsciiStream in interface PreparedStatementsetAsciiStream in class DelegatingCallableStatementSQLException@Deprecated public void setUnicodeStream(int i1, InputStream is, int i2) throws SQLException
setUnicodeStream in interface PreparedStatementsetUnicodeStream in class DelegatingCallableStatementSQLExceptionpublic void setBinaryStream(int i1,
InputStream is,
int i2)
throws SQLException
setBinaryStream in interface PreparedStatementsetBinaryStream in class DelegatingCallableStatementSQLExceptionpublic void clearParameters()
throws SQLException
clearParameters in interface PreparedStatementclearParameters in class DelegatingCallableStatementSQLExceptionpublic void setObject(int i1,
Object o,
int i2,
int i3)
throws SQLException
setObject in interface PreparedStatementsetObject in class DelegatingCallableStatementSQLExceptionpublic void setObject(int i1,
Object o,
int i2)
throws SQLException
setObject in interface PreparedStatementsetObject in class DelegatingCallableStatementSQLExceptionpublic void setObject(int i,
Object o)
throws SQLException
setObject in interface PreparedStatementsetObject in class DelegatingCallableStatementSQLExceptionpublic void addBatch()
throws SQLException
addBatch in interface PreparedStatementaddBatch in class DelegatingCallableStatementSQLExceptionpublic void setCharacterStream(int i1,
Reader r,
int i2)
throws SQLException
setCharacterStream in interface PreparedStatementsetCharacterStream in class DelegatingCallableStatementSQLExceptionpublic void setRef(int i,
Ref r)
throws SQLException
setRef in interface PreparedStatementsetRef in class DelegatingCallableStatementSQLExceptionpublic void setBlob(int i,
Blob b)
throws SQLException
setBlob in interface PreparedStatementsetBlob in class DelegatingCallableStatementSQLExceptionpublic void setClob(int i,
Clob c)
throws SQLException
setClob in interface PreparedStatementsetClob in class DelegatingCallableStatementSQLExceptionpublic void setArray(int i,
Array a)
throws SQLException
setArray in interface PreparedStatementsetArray in class DelegatingCallableStatementSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface PreparedStatementgetMetaData in class DelegatingCallableStatementSQLExceptionpublic void setDate(int i,
Date d,
Calendar c)
throws SQLException
setDate in interface PreparedStatementsetDate in class DelegatingCallableStatementSQLExceptionpublic void setTime(int i,
Time t,
Calendar c)
throws SQLException
setTime in interface PreparedStatementsetTime in class DelegatingCallableStatementSQLExceptionpublic void setTimestamp(int i,
Timestamp t,
Calendar c)
throws SQLException
setTimestamp in interface PreparedStatementsetTimestamp in class DelegatingCallableStatementSQLExceptionpublic void setNull(int i1,
int i2,
String s)
throws SQLException
setNull in interface PreparedStatementsetNull in class DelegatingCallableStatementSQLExceptionpublic void setURL(int i,
URL u)
throws SQLException
setURL in interface PreparedStatementsetURL in class DelegatingCallableStatementSQLExceptionprotected void appendInfo(StringBuffer buf)
appendInfo in class DelegatingCallableStatementprotected void clearLogParameters(boolean batch)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.