public interface StatementCustomizer
| Modifier and Type | Method and Description |
|---|---|
default void |
afterExecution(PreparedStatement stmt,
StatementContext ctx)
This will be invoked after execution of the prepared statement, but before any results
are accessed.
|
default void |
beforeExecution(PreparedStatement stmt,
StatementContext ctx)
Make the changes you need to inside this method.
|
default void afterExecution(PreparedStatement stmt, StatementContext ctx) throws SQLException
stmt - Prepared statement being customizedctx - Statement context associated with the statement being customizedSQLException - go ahead and percolate it for Jdbi to handledefault void beforeExecution(PreparedStatement stmt, StatementContext ctx) throws SQLException
stmt - Prepared statement being customizedctx - Statement context associated with the statement being customizedSQLException - go ahead and percolate it for Jdbi to handleCopyright © 2017. All rights reserved.