public static class DataManagerDataSource.QueryLogger
extends java.lang.Object
Constructor and Description |
---|
QueryLogger() |
Modifier and Type | Method and Description |
---|---|
void |
created(java.lang.String query)
Called when a query is created, but before parameters are set
|
void |
error(java.sql.Statement statement,
java.lang.Throwable throwable)
Called if a query had an error on run.
|
void |
postRun(java.sql.Statement statement)
Called just after a query is run (before the result set is returned).
|
void |
preRun(java.sql.Statement statement)
Called just before a query is run.
|
public void created(@NotNull java.lang.String query)
query
- The query string that was passed inpublic void preRun(@Nullable java.sql.Statement statement)
statement
- The statement that is about to be run on.public void postRun(@Nullable java.sql.Statement statement)
statement
- The statement that was run.