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, cleanuppublic FetchDirectionStatementCustomizer(Integer direction)
public void apply(SQLStatement q) throws SQLException
SQLExceptionpublic void beforeExecution(PreparedStatement stmt, StatementContext ctx) throws SQLException
BaseStatementCustomizerbeforeExecution in interface StatementCustomizerbeforeExecution in class BaseStatementCustomizerstmt - 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.