Package org.jdbi.v3.oracle12
Class OracleReturning.ReturnParameters
java.lang.Object
org.jdbi.v3.oracle12.OracleReturning.ReturnParameters
- All Implemented Interfaces:
StatementCustomizer
- Enclosing class:
OracleReturning
-
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeBinding(PreparedStatement stmt, StatementContext ctx) Invoked prior to applying bound parameters to thePreparedStatement.register(int index, int oracleType) Registers a return parameter on the Oracle prepared statement.Registers a return parameter on the Oracle prepared statement.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.statement.StatementCustomizer
afterExecution, beforeExecution, beforeTemplating
-
Method Details
-
beforeBinding
Description copied from interface:StatementCustomizerInvoked prior to applying bound parameters to thePreparedStatement.- Specified by:
beforeBindingin interfaceStatementCustomizer- 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
-
register
Registers a return parameter on the Oracle prepared statement.- Parameters:
index- 0-based index of the return parameteroracleType- one of the values fromOracleTypes- Returns:
- The same instance, for method chaining
-
register
Registers a return parameter on the Oracle prepared statement.- Parameters:
name- name of the return parameteroracleType- one of the values fromOracleTypes- Returns:
- The same instance, for method chaining
-