Class OracleReturning.ReturnParameters

java.lang.Object
org.jdbi.v3.oracle12.OracleReturning.ReturnParameters
All Implemented Interfaces:
StatementCustomizer
Enclosing class:
OracleReturning

public static class OracleReturning.ReturnParameters extends Object implements StatementCustomizer
  • Method Details

    • beforeBinding

      public void beforeBinding(PreparedStatement stmt, StatementContext ctx) throws SQLException
      Description copied from interface: StatementCustomizer
      Invoked prior to applying bound parameters to the PreparedStatement.
      Specified by:
      beforeBinding in interface StatementCustomizer
      Parameters:
      stmt - Prepared statement being customized
      ctx - Statement context associated with the statement being customized
      Throws:
      SQLException - go ahead and percolate it for Jdbi to handle
    • register

      public OracleReturning.ReturnParameters register(int index, int oracleType)
      Registers a return parameter on the Oracle prepared statement.
      Parameters:
      index - 0-based index of the return parameter
      oracleType - one of the values from OracleTypes
      Returns:
      The same instance, for method chaining
    • register

      public OracleReturning.ReturnParameters register(String name, int oracleType)
      Registers a return parameter on the Oracle prepared statement.
      Parameters:
      name - name of the return parameter
      oracleType - one of the values from OracleTypes
      Returns:
      The same instance, for method chaining