public class PreparedStatementTracer extends Object
Constructor and Description |
---|
PreparedStatementTracer(TraceOutput out) |
Modifier and Type | Method and Description |
---|---|
void |
addBatch() |
void |
addBatch(String sql) |
void |
addBatch(Throwable cause) |
void |
addBatch(Throwable cause,
String sql) |
void |
cancel() |
void |
cancel(Throwable cause) |
void |
clearBatch() |
void |
clearBatch(Throwable cause) |
void |
clearParameters() |
void |
clearParameters(Throwable cause) |
void |
clearWarnings() |
void |
clearWarnings(Throwable cause) |
void |
close() |
void |
close(Throwable cause) |
void |
closeOnCompletion() |
void |
closeOnCompletion(Throwable cause) |
void |
execute(boolean result) |
void |
execute(boolean result,
String sql) |
void |
execute(boolean result,
String sql,
int autoGeneratedKeys) |
void |
execute(boolean result,
String sql,
int[] columnIndexes) |
void |
execute(boolean result,
String sql,
String[] columnNames) |
void |
execute(Throwable cause) |
void |
execute(Throwable cause,
String sql) |
void |
execute(Throwable cause,
String sql,
int autoGeneratedKeys) |
void |
execute(Throwable cause,
String sql,
int[] columnIndexes) |
void |
execute(Throwable cause,
String sql,
String[] columnNames) |
void |
executeBatch(int[] result) |
void |
executeBatch(Throwable cause) |
void |
executeLargeBatch(long[] result) |
void |
executeLargeBatch(Throwable cause) |
void |
executeLargeUpdate(long result) |
void |
executeLargeUpdate(long result,
String sql) |
void |
executeLargeUpdate(long result,
String sql,
int autoGeneratedKeys) |
void |
executeLargeUpdate(long result,
String sql,
int[] columnIndexes) |
void |
executeLargeUpdate(long result,
String sql,
String[] columnNames) |
void |
executeLargeUpdate(Throwable cause) |
void |
executeLargeUpdate(Throwable cause,
String sql) |
void |
executeLargeUpdate(Throwable cause,
String sql,
int autoGeneratedKeys) |
void |
executeLargeUpdate(Throwable cause,
String sql,
int[] columnIndexes) |
void |
executeLargeUpdate(Throwable cause,
String sql,
String[] columnNames) |
void |
executeQuery(ResultSet result) |
void |
executeQuery(ResultSet result,
String sql) |
void |
executeQuery(Throwable cause) |
void |
executeQuery(Throwable cause,
String sql) |
void |
executeUpdate(int result) |
void |
executeUpdate(int result,
String sql) |
void |
executeUpdate(int result,
String sql,
int autoGeneratedKeys) |
void |
executeUpdate(int result,
String sql,
int[] columnIndexes) |
void |
executeUpdate(int result,
String sql,
String[] columnNames) |
void |
executeUpdate(Throwable cause) |
void |
executeUpdate(Throwable cause,
String sql) |
void |
executeUpdate(Throwable cause,
String sql,
int autoGeneratedKeys) |
void |
executeUpdate(Throwable cause,
String sql,
int[] columnIndexes) |
void |
executeUpdate(Throwable cause,
String sql,
String[] columnNames) |
void |
getConnection(Connection result) |
void |
getConnection(Throwable cause) |
void |
getFetchDirection(int result) |
void |
getFetchDirection(Throwable cause) |
void |
getFetchSize(int result) |
void |
getFetchSize(Throwable cause) |
void |
getGeneratedKeys(ResultSet result) |
void |
getGeneratedKeys(Throwable cause) |
void |
getLargeMaxRows(long result) |
void |
getLargeMaxRows(Throwable cause) |
void |
getLargeUpdateCount(long result) |
void |
getLargeUpdateCount(Throwable cause) |
void |
getMaxFieldSize(int result) |
void |
getMaxFieldSize(Throwable cause) |
void |
getMaxRows(int result) |
void |
getMaxRows(Throwable cause) |
void |
getMetaData(ResultSetMetaData result) |
void |
getMetaData(Throwable cause) |
void |
getMoreResults(boolean result) |
void |
getMoreResults(boolean result,
int current) |
void |
getMoreResults(Throwable cause) |
void |
getMoreResults(Throwable cause,
int current) |
void |
getParameterMetaData(ParameterMetaData result) |
void |
getParameterMetaData(Throwable cause) |
void |
getQueryTimeout(int result) |
void |
getQueryTimeout(Throwable cause) |
void |
getResultSet(ResultSet result) |
void |
getResultSet(Throwable cause) |
void |
getResultSetConcurrency(int result) |
void |
getResultSetConcurrency(Throwable cause) |
void |
getResultSetHoldability(int result) |
void |
getResultSetHoldability(Throwable cause) |
void |
getResultSetType(int result) |
void |
getResultSetType(Throwable cause) |
void |
getUpdateCount(int result) |
void |
getUpdateCount(Throwable cause) |
void |
getWarnings(SQLWarning result) |
void |
getWarnings(Throwable cause) |
void |
isClosed(boolean result) |
void |
isClosed(Throwable cause) |
void |
isCloseOnCompletion(boolean result) |
void |
isCloseOnCompletion(Throwable cause) |
void |
isPoolable(boolean result) |
void |
isPoolable(Throwable cause) |
void |
isWrapperFor(boolean result,
Class<?> iface) |
void |
isWrapperFor(Throwable cause,
Class<?> iface) |
com.impossibl.jdbc.spy.ConnectionListener |
newConnectionListener() |
com.impossibl.jdbc.spy.ParameterMetaDataListener |
newParameterMetaDataListener() |
com.impossibl.jdbc.spy.ResultSetListener |
newResultSetListener() |
com.impossibl.jdbc.spy.ResultSetMetaDataListener |
newResultSetMetaDataListener() |
void |
setArray(int parameterIndex,
Array x) |
void |
setArray(Throwable cause,
int parameterIndex,
Array x) |
void |
setAsciiStream(int parameterIndex,
InputStream x) |
void |
setAsciiStream(int parameterIndex,
InputStream x,
int length) |
void |
setAsciiStream(int parameterIndex,
InputStream x,
long length) |
void |
setAsciiStream(Throwable cause,
int parameterIndex,
InputStream x) |
void |
setAsciiStream(Throwable cause,
int parameterIndex,
InputStream x,
int length) |
void |
setAsciiStream(Throwable cause,
int parameterIndex,
InputStream x,
long length) |
void |
setBigDecimal(int parameterIndex,
BigDecimal x) |
void |
setBigDecimal(Throwable cause,
int parameterIndex,
BigDecimal x) |
void |
setBinaryStream(int parameterIndex,
InputStream x) |
void |
setBinaryStream(int parameterIndex,
InputStream x,
int length) |
void |
setBinaryStream(int parameterIndex,
InputStream x,
long length) |
void |
setBinaryStream(Throwable cause,
int parameterIndex,
InputStream x) |
void |
setBinaryStream(Throwable cause,
int parameterIndex,
InputStream x,
int length) |
void |
setBinaryStream(Throwable cause,
int parameterIndex,
InputStream x,
long length) |
void |
setBlob(int parameterIndex,
Blob x) |
void |
setBlob(int parameterIndex,
InputStream inputStream) |
void |
setBlob(int parameterIndex,
InputStream inputStream,
long length) |
void |
setBlob(Throwable cause,
int parameterIndex,
Blob x) |
void |
setBlob(Throwable cause,
int parameterIndex,
InputStream inputStream) |
void |
setBlob(Throwable cause,
int parameterIndex,
InputStream inputStream,
long length) |
void |
setBoolean(int parameterIndex,
boolean x) |
void |
setBoolean(Throwable cause,
int parameterIndex,
boolean x) |
void |
setByte(int parameterIndex,
byte x) |
void |
setByte(Throwable cause,
int parameterIndex,
byte x) |
void |
setBytes(int parameterIndex,
byte[] x) |
void |
setBytes(Throwable cause,
int parameterIndex,
byte[] x) |
void |
setCharacterStream(int parameterIndex,
Reader reader) |
void |
setCharacterStream(int parameterIndex,
Reader reader,
int length) |
void |
setCharacterStream(int parameterIndex,
Reader reader,
long length) |
void |
setCharacterStream(Throwable cause,
int parameterIndex,
Reader reader) |
void |
setCharacterStream(Throwable cause,
int parameterIndex,
Reader reader,
int length) |
void |
setCharacterStream(Throwable cause,
int parameterIndex,
Reader reader,
long length) |
void |
setClob(int parameterIndex,
Clob x) |
void |
setClob(int parameterIndex,
Reader reader) |
void |
setClob(int parameterIndex,
Reader reader,
long length) |
void |
setClob(Throwable cause,
int parameterIndex,
Clob x) |
void |
setClob(Throwable cause,
int parameterIndex,
Reader reader) |
void |
setClob(Throwable cause,
int parameterIndex,
Reader reader,
long length) |
void |
setCursorName(String name) |
void |
setCursorName(Throwable cause,
String name) |
void |
setDate(int parameterIndex,
Date x) |
void |
setDate(int parameterIndex,
Date x,
Calendar cal) |
void |
setDate(Throwable cause,
int parameterIndex,
Date x) |
void |
setDate(Throwable cause,
int parameterIndex,
Date x,
Calendar cal) |
void |
setDouble(int parameterIndex,
double x) |
void |
setDouble(Throwable cause,
int parameterIndex,
double x) |
void |
setEscapeProcessing(boolean enable) |
void |
setEscapeProcessing(Throwable cause,
boolean enable) |
void |
setFetchDirection(int direction) |
void |
setFetchDirection(Throwable cause,
int direction) |
void |
setFetchSize(int rows) |
void |
setFetchSize(Throwable cause,
int rows) |
void |
setFloat(int parameterIndex,
float x) |
void |
setFloat(Throwable cause,
int parameterIndex,
float x) |
void |
setInt(int parameterIndex,
int x) |
void |
setInt(Throwable cause,
int parameterIndex,
int x) |
void |
setLargeMaxRows(long max) |
void |
setLargeMaxRows(Throwable cause,
long max) |
void |
setLong(int parameterIndex,
long x) |
void |
setLong(Throwable cause,
int parameterIndex,
long x) |
void |
setMaxFieldSize(int max) |
void |
setMaxFieldSize(Throwable cause,
int max) |
void |
setMaxRows(int max) |
void |
setMaxRows(Throwable cause,
int max) |
void |
setNCharacterStream(int parameterIndex,
Reader value) |
void |
setNCharacterStream(int parameterIndex,
Reader value,
long length) |
void |
setNCharacterStream(Throwable cause,
int parameterIndex,
Reader value) |
void |
setNCharacterStream(Throwable cause,
int parameterIndex,
Reader value,
long length) |
void |
setNClob(int parameterIndex,
NClob value) |
void |
setNClob(int parameterIndex,
Reader reader) |
void |
setNClob(int parameterIndex,
Reader reader,
long length) |
void |
setNClob(Throwable cause,
int parameterIndex,
NClob value) |
void |
setNClob(Throwable cause,
int parameterIndex,
Reader reader) |
void |
setNClob(Throwable cause,
int parameterIndex,
Reader reader,
long length) |
void |
setNString(int parameterIndex,
String value) |
void |
setNString(Throwable cause,
int parameterIndex,
String value) |
void |
setNull(int parameterIndex,
int sqlType) |
void |
setNull(int parameterIndex,
int sqlType,
String typeName) |
void |
setNull(Throwable cause,
int parameterIndex,
int sqlType) |
void |
setNull(Throwable cause,
int parameterIndex,
int sqlType,
String typeName) |
void |
setObject(int parameterIndex,
Object x) |
void |
setObject(int parameterIndex,
Object x,
int targetSqlType) |
void |
setObject(int parameterIndex,
Object x,
int targetSqlType,
int scaleOrLength) |
void |
setObject(int parameterIndex,
Object x,
SQLType targetSqlType) |
void |
setObject(int parameterIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength) |
void |
setObject(Throwable cause,
int parameterIndex,
Object x) |
void |
setObject(Throwable cause,
int parameterIndex,
Object x,
int targetSqlType) |
void |
setObject(Throwable cause,
int parameterIndex,
Object x,
int targetSqlType,
int scaleOrLength) |
void |
setObject(Throwable cause,
int parameterIndex,
Object x,
SQLType targetSqlType) |
void |
setObject(Throwable cause,
int parameterIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength) |
void |
setPoolable(boolean poolable) |
void |
setPoolable(Throwable cause,
boolean poolable) |
void |
setQueryTimeout(int seconds) |
void |
setQueryTimeout(Throwable cause,
int seconds) |
void |
setRef(int parameterIndex,
Ref x) |
void |
setRef(Throwable cause,
int parameterIndex,
Ref x) |
void |
setRowId(int parameterIndex,
RowId x) |
void |
setRowId(Throwable cause,
int parameterIndex,
RowId x) |
void |
setShort(int parameterIndex,
short x) |
void |
setShort(Throwable cause,
int parameterIndex,
short x) |
void |
setSQLXML(int parameterIndex,
SQLXML xmlObject) |
void |
setSQLXML(Throwable cause,
int parameterIndex,
SQLXML xmlObject) |
void |
setString(int parameterIndex,
String x) |
void |
setString(Throwable cause,
int parameterIndex,
String x) |
void |
setTime(int parameterIndex,
Time x) |
void |
setTime(int parameterIndex,
Time x,
Calendar cal) |
void |
setTime(Throwable cause,
int parameterIndex,
Time x) |
void |
setTime(Throwable cause,
int parameterIndex,
Time x,
Calendar cal) |
void |
setTimestamp(int parameterIndex,
Timestamp x) |
void |
setTimestamp(int parameterIndex,
Timestamp x,
Calendar cal) |
void |
setTimestamp(Throwable cause,
int parameterIndex,
Timestamp x) |
void |
setTimestamp(Throwable cause,
int parameterIndex,
Timestamp x,
Calendar cal) |
void |
setUnicodeStream(int parameterIndex,
InputStream x,
int length) |
void |
setUnicodeStream(Throwable cause,
int parameterIndex,
InputStream x,
int length) |
void |
setURL(int parameterIndex,
URL x) |
void |
setURL(Throwable cause,
int parameterIndex,
URL x) |
void |
trace(Trace trace) |
<T> void |
unwrap(T result,
Class<T> iface) |
<T> void |
unwrap(Throwable cause,
Class<T> iface) |
public PreparedStatementTracer(TraceOutput out)
public void trace(Trace trace)
public void setNCharacterStream(int parameterIndex, Reader value, long length)
public void setNCharacterStream(Throwable cause, int parameterIndex, Reader value, long length)
public void setArray(int parameterIndex, Array x)
public void getQueryTimeout(int result)
public void getQueryTimeout(Throwable cause)
public void setCharacterStream(int parameterIndex, Reader reader, long length)
public void setCharacterStream(Throwable cause, int parameterIndex, Reader reader, long length)
public void setLong(int parameterIndex, long x)
public void setLong(Throwable cause, int parameterIndex, long x)
public void addBatch()
public void addBatch(Throwable cause)
public void setBinaryStream(int parameterIndex, InputStream x, long length)
public void setBinaryStream(Throwable cause, int parameterIndex, InputStream x, long length)
public void clearWarnings()
public void clearWarnings(Throwable cause)
public void getParameterMetaData(ParameterMetaData result)
public void getParameterMetaData(Throwable cause)
public void getMoreResults(boolean result)
public void getMoreResults(Throwable cause)
public void setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength)
public void setObject(Throwable cause, int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength)
public <T> void unwrap(T result, Class<T> iface)
public void getFetchDirection(int result)
public void getFetchDirection(Throwable cause)
public void executeUpdate(int result, String sql, int autoGeneratedKeys)
public void setQueryTimeout(int seconds)
public void setQueryTimeout(Throwable cause, int seconds)
public void setEscapeProcessing(boolean enable)
public void setEscapeProcessing(Throwable cause, boolean enable)
public void setBytes(int parameterIndex, byte[] x)
public void setBytes(Throwable cause, int parameterIndex, byte[] x)
public void executeUpdate(int result, String sql, int[] columnIndexes)
public void setDate(int parameterIndex, Date x)
public void getResultSetType(int result)
public void getResultSetType(Throwable cause)
public void executeUpdate(int result)
public void executeUpdate(Throwable cause)
public void setObject(int parameterIndex, Object x)
public void setAsciiStream(int parameterIndex, InputStream x, int length)
public void setAsciiStream(Throwable cause, int parameterIndex, InputStream x, int length)
public void setBigDecimal(int parameterIndex, BigDecimal x)
public void setBigDecimal(Throwable cause, int parameterIndex, BigDecimal x)
public void executeLargeBatch(long[] result)
public void executeLargeBatch(Throwable cause)
public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength)
public void setObject(Throwable cause, int parameterIndex, Object x, int targetSqlType, int scaleOrLength)
public void executeLargeUpdate(Throwable cause, String sql, String[] columnNames)
public void setBoolean(int parameterIndex, boolean x)
public void setBoolean(Throwable cause, int parameterIndex, boolean x)
public void isPoolable(boolean result)
public void isPoolable(Throwable cause)
public void executeLargeUpdate(long result)
public void executeLargeUpdate(Throwable cause)
public void execute(boolean result, String sql, int autoGeneratedKeys)
public void setTimestamp(Throwable cause, int parameterIndex, Timestamp x, Calendar cal)
public void clearParameters()
public void clearParameters(Throwable cause)
public void setSQLXML(int parameterIndex, SQLXML xmlObject)
public void executeUpdate(int result, String sql)
public void isWrapperFor(boolean result, Class<?> iface)
public void getMaxRows(int result)
public void getMaxRows(Throwable cause)
public void getLargeUpdateCount(long result)
public void getLargeUpdateCount(Throwable cause)
public void execute(boolean result, String sql)
public void getLargeMaxRows(long result)
public void getLargeMaxRows(Throwable cause)
public void getGeneratedKeys(ResultSet result)
public void getGeneratedKeys(Throwable cause)
public void executeLargeUpdate(long result, String sql, int[] columnIndexes)
public void setRowId(int parameterIndex, RowId x)
public void isClosed(boolean result)
public void isClosed(Throwable cause)
public void clearBatch()
public void clearBatch(Throwable cause)
public void setUnicodeStream(int parameterIndex, InputStream x, int length)
public void setUnicodeStream(Throwable cause, int parameterIndex, InputStream x, int length)
public void setNCharacterStream(int parameterIndex, Reader value)
public void setNCharacterStream(Throwable cause, int parameterIndex, Reader value)
public void execute(boolean result, String sql, int[] columnIndexes)
public void setFetchSize(int rows)
public void setFetchSize(Throwable cause, int rows)
public void setDouble(int parameterIndex, double x)
public void setDouble(Throwable cause, int parameterIndex, double x)
public void setBlob(int parameterIndex, InputStream inputStream, long length)
public void setBlob(Throwable cause, int parameterIndex, InputStream inputStream, long length)
public void executeLargeUpdate(long result, String sql)
public void setCharacterStream(int parameterIndex, Reader reader, int length)
public void setCharacterStream(Throwable cause, int parameterIndex, Reader reader, int length)
public void setTimestamp(int parameterIndex, Timestamp x)
public void cancel()
public void cancel(Throwable cause)
public void executeQuery(ResultSet result)
public void executeQuery(Throwable cause)
public void setBlob(int parameterIndex, InputStream inputStream)
public void setBlob(Throwable cause, int parameterIndex, InputStream inputStream)
public void close()
public void close(Throwable cause)
public void getResultSet(ResultSet result)
public void getResultSet(Throwable cause)
public void setLargeMaxRows(long max)
public void setLargeMaxRows(Throwable cause, long max)
public void setBinaryStream(int parameterIndex, InputStream x)
public void setBinaryStream(Throwable cause, int parameterIndex, InputStream x)
public void setNClob(int parameterIndex, NClob value)
public void setByte(int parameterIndex, byte x)
public void setByte(Throwable cause, int parameterIndex, byte x)
public void setNClob(int parameterIndex, Reader reader, long length)
public void setString(int parameterIndex, String x)
public void setTime(int parameterIndex, Time x)
public void setFetchDirection(int direction)
public void setFetchDirection(Throwable cause, int direction)
public void getConnection(Connection result)
public void getConnection(Throwable cause)
public void getUpdateCount(int result)
public void getUpdateCount(Throwable cause)
public void setClob(int parameterIndex, Reader reader)
public void setURL(int parameterIndex, URL x)
public void isCloseOnCompletion(boolean result)
public void isCloseOnCompletion(Throwable cause)
public void setMaxRows(int max)
public void setMaxRows(Throwable cause, int max)
public void setAsciiStream(int parameterIndex, InputStream x)
public void setAsciiStream(Throwable cause, int parameterIndex, InputStream x)
public void setNClob(int parameterIndex, Reader reader)
public void addBatch(String sql)
public void setCharacterStream(int parameterIndex, Reader reader)
public void setCharacterStream(Throwable cause, int parameterIndex, Reader reader)
public void getMaxFieldSize(int result)
public void getMaxFieldSize(Throwable cause)
public void setRef(int parameterIndex, Ref x)
public void setClob(int parameterIndex, Reader reader, long length)
public void setInt(int parameterIndex, int x)
public void setInt(Throwable cause, int parameterIndex, int x)
public void getResultSetHoldability(int result)
public void getResultSetHoldability(Throwable cause)
public void getMetaData(ResultSetMetaData result)
public void getMetaData(Throwable cause)
public void executeBatch(int[] result)
public void executeBatch(Throwable cause)
public void setCursorName(String name)
public void closeOnCompletion()
public void closeOnCompletion(Throwable cause)
public void executeLargeUpdate(long result, String sql, int autoGeneratedKeys)
public void executeLargeUpdate(Throwable cause, String sql, int autoGeneratedKeys)
public void setFloat(int parameterIndex, float x)
public void setFloat(Throwable cause, int parameterIndex, float x)
public void execute(boolean result)
public void execute(Throwable cause)
public void setObject(int parameterIndex, Object x, int targetSqlType)
public void setObject(Throwable cause, int parameterIndex, Object x, SQLType targetSqlType)
public void setNString(int parameterIndex, String value)
public void getResultSetConcurrency(int result)
public void getResultSetConcurrency(Throwable cause)
public void getMoreResults(boolean result, int current)
public void getMoreResults(Throwable cause, int current)
public void setMaxFieldSize(int max)
public void setMaxFieldSize(Throwable cause, int max)
public void getWarnings(SQLWarning result)
public void getWarnings(Throwable cause)
public void setNull(int parameterIndex, int sqlType)
public void setNull(Throwable cause, int parameterIndex, int sqlType)
public void setBlob(int parameterIndex, Blob x)
public void setPoolable(boolean poolable)
public void setPoolable(Throwable cause, boolean poolable)
public void setNull(int parameterIndex, int sqlType, String typeName)
public void setAsciiStream(int parameterIndex, InputStream x, long length)
public void setAsciiStream(Throwable cause, int parameterIndex, InputStream x, long length)
public void setClob(int parameterIndex, Clob x)
public void getFetchSize(int result)
public void getFetchSize(Throwable cause)
public void setShort(int parameterIndex, short x)
public void setShort(Throwable cause, int parameterIndex, short x)
public void setBinaryStream(int parameterIndex, InputStream x, int length)
public void setBinaryStream(Throwable cause, int parameterIndex, InputStream x, int length)
public com.impossibl.jdbc.spy.ParameterMetaDataListener newParameterMetaDataListener()
public com.impossibl.jdbc.spy.ResultSetListener newResultSetListener()
public com.impossibl.jdbc.spy.ConnectionListener newConnectionListener()
public com.impossibl.jdbc.spy.ResultSetMetaDataListener newResultSetMetaDataListener()