Class Summary |
CallableStatementSpy |
Wraps a CallableStatement and reports method calls, returns and exceptions. |
ConnectionSpy |
Wraps a JDBC Connection and reports method calls, returns and exceptions. |
DriverSpy |
A JDBC driver which is a facade that delegates to one or more real underlying
JDBC drivers. |
PostLogProfilerProcessor |
Post processes an existing sqltiming log, and creates a profiling report from it. |
PreparedStatementSpy |
Wraps a PreparedStatement and reports method calls, returns and exceptions. |
ResultSetSpy |
Wraps a ResultSet and reports method calls, returns and exceptions. |
Slf4jSpyLogDelegator |
Delegates JDBC spy logging events to the the Simple Logging Facade for Java (slf4j). |
SpyLogFactory |
A provider for a SpyLogDelegator. |
StatementSpy |
Wraps a Statement and reports method calls, returns and exceptions. |
Utilities |
Static utility methods for use throughout the project. |
The log4jdbc JDBC driver is a special JDBC driver that delegates all jdbc calls to another jdbc driver, logging the
sql and other useful information in the process. log4jdbc is dependant on the log4j logging system (verson 1.2.x) but
the code has been written to be logger agnostic and with minor code changes, it could be used with any
logging system.