Package | Description |
---|---|
io.jdev.miniprofiler.sql.log4jdbc |
log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information)
for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system.
|
Modifier and Type | Field and Description |
---|---|
protected ConnectionSpy |
StatementSpy.connectionSpy
The Connection that created this Statement.
|
Constructor and Description |
---|
CallableStatementSpy(java.lang.String sql,
ConnectionSpy connectionSpy,
java.sql.CallableStatement realCallableStatement)
Create a CallableStatementSpy (JDBC 4 version) to spy upon a CallableStatement.
|
PreparedStatementSpy(java.lang.String sql,
ConnectionSpy connectionSpy,
java.sql.PreparedStatement realPreparedStatement)
Create a PreparedStatementSpy (JDBC 4 version) for logging activity of another PreparedStatement.
|
StatementSpy(ConnectionSpy connectionSpy,
java.sql.Statement realStatement)
Create a StatementSpy that wraps another Statement
for the purpose of logging all method calls, sql, exceptions and return values.
|