Class Call.OutParamArgument

java.lang.Object
org.jdbi.v3.core.statement.Call.OutParamArgument
All Implemented Interfaces:
Argument
Enclosing class:
Call

private class Call.OutParamArgument extends Object implements Argument
  • Field Details

    • sqlType

      private final int sqlType
    • mapper

      private final CallableStatementMapper mapper
    • name

      private final String name
    • position

      private int position
  • Constructor Details

  • Method Details

    • apply

      public void apply(int outPosition, PreparedStatement statement, StatementContext ctx) throws SQLException
      Description copied from interface: Argument
      Apply the argument to the given prepared statement.
      Specified by:
      apply in interface Argument
      Parameters:
      outPosition - the position to which the argument should be bound, using the stupid JDBC "start at 1" bit
      statement - the prepared statement the argument is to be bound to
      ctx - the statement context
      Throws:
      SQLException - if anything goes wrong
    • map

      public Object map(CallableStatement stmt)