Class JdbcOutParameterGetter

java.lang.Object
org.seasar.doma.internal.jdbc.command.JdbcOutParameterGetter
All Implemented Interfaces:
JdbcMappingFunction

public class JdbcOutParameterGetter extends Object implements JdbcMappingFunction
  • Field Details

    • callableStatement

      protected final CallableStatement callableStatement
    • index

      protected final int index
  • Constructor Details

    • JdbcOutParameterGetter

      public JdbcOutParameterGetter(CallableStatement callableStatement, int index)
  • Method Details

    • apply

      public <R, V> R apply(Wrapper<V> wrapper, JdbcType<V> jdbcType) throws SQLException
      Description copied from interface: JdbcMappingFunction
      Applies this function.
      Specified by:
      apply in interface JdbcMappingFunction
      Type Parameters:
      R - the return type
      V - the basic type
      Parameters:
      wrapper - the wrapper
      jdbcType - the JDBC type
      Returns:
      the mapping result
      Throws:
      SQLException - if an SQL related error occurs