protected class LoggingConnectionDecorator.LoggingConnection.LoggingCallableStatement extends DelegatingCallableStatement
LoggingConnectionDecorator.LoggingConnection.LoggingPreparedStatement but can not be extended
due to the existing delegation hierarchy.| Modifier and Type | Field and Description |
|---|---|
(package private) int |
batchedRowsBaseIndex |
| Constructor and Description |
|---|
LoggingConnectionDecorator.LoggingConnection.LoggingCallableStatement(java.sql.CallableStatement stmt,
java.lang.String sql) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
protected void |
appendInfo(java.lang.StringBuffer buf) |
void |
cancel() |
protected void |
clearLogParameters(boolean batch) |
void |
clearParameters() |
boolean |
execute() |
boolean |
execute(java.lang.String sql) |
boolean |
execute(java.lang.String s,
int i) |
boolean |
execute(java.lang.String s,
int[] ia) |
boolean |
execute(java.lang.String s,
java.lang.String[] sa) |
int[] |
executeBatch() |
protected java.sql.ResultSet |
executeQuery(boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet, which is the default. |
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() |
int |
executeUpdate(java.lang.String sql) |
int |
executeUpdate(java.lang.String s,
int i) |
int |
executeUpdate(java.lang.String s,
int[] ia) |
int |
executeUpdate(java.lang.String s,
java.lang.String[] sa) |
java.sql.ResultSetMetaData |
getMetaData() |
void |
setArray(int i,
java.sql.Array a) |
void |
setAsciiStream(int i1,
java.io.InputStream is,
int i2) |
void |
setBigDecimal(int i,
java.math.BigDecimal bd) |
void |
setBinaryStream(int i1,
java.io.InputStream is,
int i2) |
void |
setBlob(int i,
java.sql.Blob b) |
void |
setBoolean(int i,
boolean b) |
void |
setByte(int i,
byte b) |
void |
setBytes(int i,
byte[] b) |
void |
setCharacterStream(int i1,
java.io.Reader r,
int i2) |
void |
setClob(int i,
java.sql.Clob c) |
void |
setDate(int i,
java.sql.Date d) |
void |
setDate(int i,
java.sql.Date d,
java.util.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,
java.lang.String s) |
void |
setObject(int i,
java.lang.Object o) |
void |
setObject(int i1,
java.lang.Object o,
int i2) |
void |
setObject(int i1,
java.lang.Object o,
int i2,
int i3) |
void |
setRef(int i,
java.sql.Ref r) |
void |
setShort(int i,
short s) |
void |
setString(int i,
java.lang.String s) |
void |
setTime(int i,
java.sql.Time t) |
void |
setTime(int i,
java.sql.Time t,
java.util.Calendar c) |
void |
setTimestamp(int i,
java.sql.Timestamp t) |
void |
setTimestamp(int i,
java.sql.Timestamp t,
java.util.Calendar c) |
void |
setUnicodeStream(int i1,
java.io.InputStream is,
int i2)
Deprecated.
|
void |
setURL(int i,
java.net.URL u) |
protected java.sql.ResultSet |
wrapResult(java.sql.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, wrapResultpublic LoggingConnectionDecorator.LoggingConnection.LoggingCallableStatement(java.sql.CallableStatement stmt,
java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.sql.ResultSet wrapResult(java.sql.ResultSet rs,
boolean wrap)
protected java.sql.ResultSet executeQuery(java.lang.String sql,
boolean wrap)
throws java.sql.SQLException
DelegatingCallableStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingCallableStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String sql)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingCallableStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String sql)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingCallableStatementjava.sql.SQLExceptionprotected java.sql.ResultSet executeQuery(boolean wrap)
throws java.sql.SQLException
DelegatingCallableStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingCallableStatementjava.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface java.sql.PreparedStatementexecuteUpdate in class DelegatingCallableStatementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.StatementexecuteBatch in class DelegatingCallableStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
execute in interface java.sql.PreparedStatementexecute in class DelegatingCallableStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String s,
int i)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingCallableStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String s,
int[] ia)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingCallableStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String s,
java.lang.String[] sa)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingCallableStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String s,
int i)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingCallableStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String s,
int[] ia)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingCallableStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String s,
java.lang.String[] sa)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void cancel()
throws java.sql.SQLException
cancel in interface java.sql.Statementcancel in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setNull(int i1,
int i2)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementsetNull in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setBoolean(int i,
boolean b)
throws java.sql.SQLException
setBoolean in interface java.sql.PreparedStatementsetBoolean in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setByte(int i,
byte b)
throws java.sql.SQLException
setByte in interface java.sql.PreparedStatementsetByte in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setShort(int i,
short s)
throws java.sql.SQLException
setShort in interface java.sql.PreparedStatementsetShort in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setInt(int i1,
int i2)
throws java.sql.SQLException
setInt in interface java.sql.PreparedStatementsetInt in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setLong(int i,
long l)
throws java.sql.SQLException
setLong in interface java.sql.PreparedStatementsetLong in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setFloat(int i,
float f)
throws java.sql.SQLException
setFloat in interface java.sql.PreparedStatementsetFloat in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setDouble(int i,
double d)
throws java.sql.SQLException
setDouble in interface java.sql.PreparedStatementsetDouble in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setBigDecimal(int i,
java.math.BigDecimal bd)
throws java.sql.SQLException
setBigDecimal in interface java.sql.PreparedStatementsetBigDecimal in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setString(int i,
java.lang.String s)
throws java.sql.SQLException
setString in interface java.sql.PreparedStatementsetString in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setBytes(int i,
byte[] b)
throws java.sql.SQLException
setBytes in interface java.sql.PreparedStatementsetBytes in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setDate(int i,
java.sql.Date d)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementsetDate in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setTime(int i,
java.sql.Time t)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementsetTime in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setTimestamp(int i,
java.sql.Timestamp t)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementsetTimestamp in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setAsciiStream(int i1,
java.io.InputStream is,
int i2)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementsetAsciiStream in class DelegatingCallableStatementjava.sql.SQLException@Deprecated
public void setUnicodeStream(int i1,
java.io.InputStream is,
int i2)
throws java.sql.SQLException
setUnicodeStream in interface java.sql.PreparedStatementsetUnicodeStream in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setBinaryStream(int i1,
java.io.InputStream is,
int i2)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementsetBinaryStream in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
clearParameters in interface java.sql.PreparedStatementclearParameters in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setObject(int i1,
java.lang.Object o,
int i2,
int i3)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementsetObject in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setObject(int i1,
java.lang.Object o,
int i2)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementsetObject in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setObject(int i,
java.lang.Object o)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementsetObject in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch in interface java.sql.PreparedStatementaddBatch in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setCharacterStream(int i1,
java.io.Reader r,
int i2)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementsetCharacterStream in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setRef(int i,
java.sql.Ref r)
throws java.sql.SQLException
setRef in interface java.sql.PreparedStatementsetRef in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setBlob(int i,
java.sql.Blob b)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementsetBlob in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setClob(int i,
java.sql.Clob c)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementsetClob in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setArray(int i,
java.sql.Array a)
throws java.sql.SQLException
setArray in interface java.sql.PreparedStatementsetArray in class DelegatingCallableStatementjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.PreparedStatementgetMetaData in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setDate(int i,
java.sql.Date d,
java.util.Calendar c)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementsetDate in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setTime(int i,
java.sql.Time t,
java.util.Calendar c)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementsetTime in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setTimestamp(int i,
java.sql.Timestamp t,
java.util.Calendar c)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementsetTimestamp in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setNull(int i1,
int i2,
java.lang.String s)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementsetNull in class DelegatingCallableStatementjava.sql.SQLExceptionpublic void setURL(int i,
java.net.URL u)
throws java.sql.SQLException
setURL in interface java.sql.PreparedStatementsetURL in class DelegatingCallableStatementjava.sql.SQLExceptionprotected void appendInfo(java.lang.StringBuffer buf)
appendInfo in class DelegatingCallableStatementprotected void clearLogParameters(boolean batch)
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.