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) 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
- Specified by:
beforeBindingin interfaceStatementCustomizer- Throws:
SQLException
-
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
-