public static final class StatementCustomizers.FetchSizeCustomizer extends BaseStatementCustomizer
| Constructor and Description |
|---|
FetchSizeCustomizer(int fetchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeExecution(PreparedStatement stmt,
StatementContext ctx)
Make the changes you need to inside this method.
|
afterExecution, cleanuppublic 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.