org.skife.jdbi.v2
Class StatementCustomizers.MaxRowsCustomizer
java.lang.Object
org.skife.jdbi.v2.tweak.BaseStatementCustomizer
org.skife.jdbi.v2.StatementCustomizers.MaxRowsCustomizer
- All Implemented Interfaces:
- StatementCustomizer
- Enclosing class:
- StatementCustomizers
public static final class StatementCustomizers.MaxRowsCustomizer
- extends BaseStatementCustomizer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatementCustomizers.MaxRowsCustomizer
public StatementCustomizers.MaxRowsCustomizer(int maxRows)
beforeExecution
public void beforeExecution(PreparedStatement stmt,
StatementContext ctx)
throws SQLException
- Description copied from class:
BaseStatementCustomizer
- Make the changes you need to inside this method. It will be invoked prior to execution of
the prepared statement
- Specified by:
beforeExecution
in interface StatementCustomizer
- Overrides:
beforeExecution
in class BaseStatementCustomizer
- Parameters:
stmt
- Prepared statement being customizedctx
- Statement context associated with the statement being customized
- Throws:
SQLException
- go ahead and percolate it for jDBI to handle
Copyright © 2013. All Rights Reserved.