Class Call.OutParamArgument

  • All Implemented Interfaces:
    Argument
    Enclosing class:
    Call

    private class Call.OutParamArgument
    extends java.lang.Object
    implements Argument
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(int outPosition, java.sql.PreparedStatement statement, StatementContext ctx)
      Apply the argument to the given prepared statement.
      java.lang.Object map​(java.sql.CallableStatement stmt)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sqlType

        private final int sqlType
      • name

        private final java.lang.String name
      • position

        private int position
    • Constructor Detail

    • Method Detail

      • apply

        public void apply​(int outPosition,
                          java.sql.PreparedStatement statement,
                          StatementContext ctx)
                   throws java.sql.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:
        java.sql.SQLException - if anything goes wrong
      • map

        public java.lang.Object map​(java.sql.CallableStatement stmt)