public static class StatementCustomizers.FetchDirectionStatementCustomizer extends Object implements StatementCustomizer
| 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterExecutionpublic FetchDirectionStatementCustomizer(Integer direction)
public void apply(SqlStatement<?> q) throws SQLException
SQLExceptionpublic void beforeExecution(PreparedStatement stmt, StatementContext ctx) throws SQLException
StatementCustomizerbeforeExecution in interface StatementCustomizerstmt - 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.