public class ConnectionTracer extends Object
Constructor and Description |
---|
ConnectionTracer(TraceOutput out) |
Modifier and Type | Method and Description |
---|---|
void |
abort(Executor executor) |
void |
abort(Throwable cause,
Executor executor) |
void |
clearWarnings() |
void |
clearWarnings(Throwable cause) |
void |
close() |
void |
close(Throwable cause) |
void |
commit() |
void |
commit(Throwable cause) |
void |
createArrayOf(Array result,
String typeName,
Object[] elements) |
void |
createArrayOf(Throwable cause,
String typeName,
Object[] elements) |
void |
createBlob(Blob result) |
void |
createBlob(Throwable cause) |
void |
createClob(Clob result) |
void |
createClob(Throwable cause) |
void |
createNClob(NClob result) |
void |
createNClob(Throwable cause) |
void |
createSQLXML(SQLXML result) |
void |
createSQLXML(Throwable cause) |
void |
createStatement(Statement result) |
void |
createStatement(Statement result,
int resultSetType,
int resultSetConcurrency) |
void |
createStatement(Statement result,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
void |
createStatement(Throwable cause) |
void |
createStatement(Throwable cause,
int resultSetType,
int resultSetConcurrency) |
void |
createStatement(Throwable cause,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
void |
createStruct(Struct result,
String typeName,
Object[] attributes) |
void |
createStruct(Throwable cause,
String typeName,
Object[] attributes) |
void |
getAutoCommit(boolean result) |
void |
getAutoCommit(Throwable cause) |
void |
getCatalog(String result) |
void |
getCatalog(Throwable cause) |
void |
getClientInfo(Properties result) |
void |
getClientInfo(String result,
String name) |
void |
getClientInfo(Throwable cause) |
void |
getClientInfo(Throwable cause,
String name) |
void |
getHoldability(int result) |
void |
getHoldability(Throwable cause) |
void |
getMetaData(DatabaseMetaData result) |
void |
getMetaData(Throwable cause) |
void |
getNetworkTimeout(int result) |
void |
getNetworkTimeout(Throwable cause) |
void |
getSchema(String result) |
void |
getSchema(Throwable cause) |
void |
getTransactionIsolation(int result) |
void |
getTransactionIsolation(Throwable cause) |
void |
getTypeMap(Map<String,Class<?>> result) |
void |
getTypeMap(Throwable cause) |
void |
getWarnings(SQLWarning result) |
void |
getWarnings(Throwable cause) |
void |
isClosed(boolean result) |
void |
isClosed(Throwable cause) |
void |
isReadOnly(boolean result) |
void |
isReadOnly(Throwable cause) |
void |
isValid(boolean result,
int timeout) |
void |
isValid(Throwable cause,
int timeout) |
void |
isWrapperFor(boolean result,
Class<?> iface) |
void |
isWrapperFor(Throwable cause,
Class<?> iface) |
void |
nativeSQL(String result,
String sql) |
void |
nativeSQL(Throwable cause,
String sql) |
com.impossibl.jdbc.spy.ArrayListener |
newArrayListener() |
com.impossibl.jdbc.spy.BlobListener |
newBlobListener() |
com.impossibl.jdbc.spy.CallableStatementListener |
newCallableStatementListener() |
com.impossibl.jdbc.spy.ClobListener |
newClobListener() |
com.impossibl.jdbc.spy.DatabaseMetaDataListener |
newDatabaseMetaDataListener() |
com.impossibl.jdbc.spy.NClobListener |
newNClobListener() |
com.impossibl.jdbc.spy.PreparedStatementListener |
newPreparedStatementListener() |
com.impossibl.jdbc.spy.SavepointListener |
newSavepointListener() |
com.impossibl.jdbc.spy.SQLXMLListener |
newSQLXMLListener() |
com.impossibl.jdbc.spy.StatementListener |
newStatementListener() |
com.impossibl.jdbc.spy.StructListener |
newStructListener() |
void |
prepareCall(CallableStatement result,
String sql) |
void |
prepareCall(CallableStatement result,
String sql,
int resultSetType,
int resultSetConcurrency) |
void |
prepareCall(CallableStatement result,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
void |
prepareCall(Throwable cause,
String sql) |
void |
prepareCall(Throwable cause,
String sql,
int resultSetType,
int resultSetConcurrency) |
void |
prepareCall(Throwable cause,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
void |
prepareStatement(PreparedStatement result,
String sql) |
void |
prepareStatement(PreparedStatement result,
String sql,
int autoGeneratedKeys) |
void |
prepareStatement(PreparedStatement result,
String sql,
int[] columnIndexes) |
void |
prepareStatement(PreparedStatement result,
String sql,
int resultSetType,
int resultSetConcurrency) |
void |
prepareStatement(PreparedStatement result,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
void |
prepareStatement(PreparedStatement result,
String sql,
String[] columnNames) |
void |
prepareStatement(Throwable cause,
String sql) |
void |
prepareStatement(Throwable cause,
String sql,
int autoGeneratedKeys) |
void |
prepareStatement(Throwable cause,
String sql,
int[] columnIndexes) |
void |
prepareStatement(Throwable cause,
String sql,
int resultSetType,
int resultSetConcurrency) |
void |
prepareStatement(Throwable cause,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
void |
prepareStatement(Throwable cause,
String sql,
String[] columnNames) |
void |
releaseSavepoint(Savepoint savepoint) |
void |
releaseSavepoint(Throwable cause,
Savepoint savepoint) |
void |
rollback() |
void |
rollback(Savepoint savepoint) |
void |
rollback(Throwable cause) |
void |
rollback(Throwable cause,
Savepoint savepoint) |
void |
setAutoCommit(boolean autoCommit) |
void |
setAutoCommit(Throwable cause,
boolean autoCommit) |
void |
setCatalog(String catalog) |
void |
setCatalog(Throwable cause,
String catalog) |
void |
setClientInfo(Properties properties) |
void |
setClientInfo(String name,
String value) |
void |
setClientInfo(Throwable cause,
Properties properties) |
void |
setClientInfo(Throwable cause,
String name,
String value) |
void |
setHoldability(int holdability) |
void |
setHoldability(Throwable cause,
int holdability) |
void |
setNetworkTimeout(Executor executor,
int milliseconds) |
void |
setNetworkTimeout(Throwable cause,
Executor executor,
int milliseconds) |
void |
setReadOnly(boolean readOnly) |
void |
setReadOnly(Throwable cause,
boolean readOnly) |
void |
setSavepoint(Savepoint result) |
void |
setSavepoint(Savepoint result,
String name) |
void |
setSavepoint(Throwable cause) |
void |
setSavepoint(Throwable cause,
String name) |
void |
setSchema(String schema) |
void |
setSchema(Throwable cause,
String schema) |
void |
setTransactionIsolation(int level) |
void |
setTransactionIsolation(Throwable cause,
int level) |
void |
setTypeMap(Map<String,Class<?>> map) |
void |
setTypeMap(Throwable cause,
Map<String,Class<?>> map) |
void |
trace(Trace trace) |
<T> void |
unwrap(T result,
Class<T> iface) |
<T> void |
unwrap(Throwable cause,
Class<T> iface) |
public ConnectionTracer(TraceOutput out)
public void trace(Trace trace)
public void abort(Executor executor)
public void prepareStatement(PreparedStatement result, String sql, int[] columnIndexes)
public void createNClob(NClob result)
public void createNClob(Throwable cause)
public void close()
public void close(Throwable cause)
public void getTransactionIsolation(int result)
public void getTransactionIsolation(Throwable cause)
public void createStatement(Statement result, int resultSetType, int resultSetConcurrency)
public void createStatement(Throwable cause, int resultSetType, int resultSetConcurrency)
public void getClientInfo(Properties result)
public void getClientInfo(Throwable cause)
public void prepareStatement(PreparedStatement result, String sql, String[] columnNames)
public void createStatement(Statement result)
public void createStatement(Throwable cause)
public <T> void unwrap(T result, Class<T> iface)
public void getNetworkTimeout(int result)
public void getNetworkTimeout(Throwable cause)
public void setCatalog(String catalog)
public void getTypeMap(Throwable cause)
public void setClientInfo(Properties properties)
public void setClientInfo(Throwable cause, Properties properties)
public void createStatement(Statement result, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public void createStatement(Throwable cause, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public void rollback(Savepoint savepoint)
public void setReadOnly(boolean readOnly)
public void setReadOnly(Throwable cause, boolean readOnly)
public void getSchema(String result)
public void getSchema(Throwable cause)
public void setNetworkTimeout(Executor executor, int milliseconds)
public void setNetworkTimeout(Throwable cause, Executor executor, int milliseconds)
public void isValid(boolean result, int timeout)
public void isValid(Throwable cause, int timeout)
public void releaseSavepoint(Savepoint savepoint)
public void createClob(Clob result)
public void createClob(Throwable cause)
public void commit()
public void commit(Throwable cause)
public void rollback()
public void rollback(Throwable cause)
public void clearWarnings()
public void clearWarnings(Throwable cause)
public void getHoldability(int result)
public void getHoldability(Throwable cause)
public void getAutoCommit(boolean result)
public void getAutoCommit(Throwable cause)
public void prepareStatement(PreparedStatement result, String sql, int resultSetType, int resultSetConcurrency)
public void prepareStatement(Throwable cause, String sql, int resultSetType, int resultSetConcurrency)
public void setAutoCommit(boolean autoCommit)
public void setAutoCommit(Throwable cause, boolean autoCommit)
public void prepareCall(CallableStatement result, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public void prepareCall(Throwable cause, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public void prepareCall(CallableStatement result, String sql)
public void getMetaData(DatabaseMetaData result)
public void getMetaData(Throwable cause)
public void isWrapperFor(boolean result, Class<?> iface)
public void prepareStatement(PreparedStatement result, String sql)
public void isClosed(boolean result)
public void isClosed(Throwable cause)
public void setSavepoint(Savepoint result)
public void setSavepoint(Throwable cause)
public void setSchema(String schema)
public void setTransactionIsolation(int level)
public void setTransactionIsolation(Throwable cause, int level)
public void getCatalog(String result)
public void getCatalog(Throwable cause)
public void prepareCall(CallableStatement result, String sql, int resultSetType, int resultSetConcurrency)
public void prepareCall(Throwable cause, String sql, int resultSetType, int resultSetConcurrency)
public void setHoldability(int holdability)
public void setHoldability(Throwable cause, int holdability)
public void isReadOnly(boolean result)
public void isReadOnly(Throwable cause)
public void prepareStatement(PreparedStatement result, String sql, int autoGeneratedKeys)
public void prepareStatement(PreparedStatement result, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public void prepareStatement(Throwable cause, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public void createSQLXML(SQLXML result)
public void createSQLXML(Throwable cause)
public void getWarnings(SQLWarning result)
public void getWarnings(Throwable cause)
public void createBlob(Blob result)
public void createBlob(Throwable cause)
public com.impossibl.jdbc.spy.PreparedStatementListener newPreparedStatementListener()
public com.impossibl.jdbc.spy.NClobListener newNClobListener()
public com.impossibl.jdbc.spy.StatementListener newStatementListener()
public com.impossibl.jdbc.spy.ArrayListener newArrayListener()
public com.impossibl.jdbc.spy.ClobListener newClobListener()
public com.impossibl.jdbc.spy.SavepointListener newSavepointListener()
public com.impossibl.jdbc.spy.CallableStatementListener newCallableStatementListener()
public com.impossibl.jdbc.spy.DatabaseMetaDataListener newDatabaseMetaDataListener()
public com.impossibl.jdbc.spy.StructListener newStructListener()
public com.impossibl.jdbc.spy.SQLXMLListener newSQLXMLListener()
public com.impossibl.jdbc.spy.BlobListener newBlobListener()