public static class StatementCustomizers.FetchDirectionStatementCustomizer extends BaseStatementCustomizer
Constructor and Description |
---|
FetchDirectionStatementCustomizer(Integer direction) |
Modifier and Type | Method and Description |
---|---|
void |
apply(SQLStatement q) |
void |
beforeExecution(PreparedStatement stmt,
StatementContext ctx)
Make the changes you need to inside this method.
|
afterExecution, cleanup
public FetchDirectionStatementCustomizer(Integer direction)
public void apply(SQLStatement q) throws SQLException
SQLException
public void beforeExecution(PreparedStatement stmt, StatementContext ctx) throws SQLException
BaseStatementCustomizer
beforeExecution
in interface StatementCustomizer
beforeExecution
in class BaseStatementCustomizer
stmt
- Prepared statement being customizedctx
- Statement context associated with the statement being customizedSQLException
- go ahead and percolate it for jDBI to handleCopyright © 2018. All rights reserved.