Interface JdbcMappingFunction

All Known Implementing Classes:
JdbcOutParameterGetter, JdbcOutParameterRegistrar, JdbcValueGetter, JdbcValueSetter

public interface JdbcMappingFunction
A function that maps between Wrapper and JdbcType.

The implementation is not required to be thread safe.

  • Method Summary

    Modifier and Type
    Method
    Description
    <R, V> R
    apply(Wrapper<V> wrapper, JdbcType<V> jdbcType)
    Applies this function.
  • Method Details

    • apply

      <R, V> R apply(Wrapper<V> wrapper, JdbcType<V> jdbcType) throws SQLException
      Applies this function.
      Type Parameters:
      R - the return type
      V - the basic type
      Parameters:
      wrapper - the wrapper
      jdbcType - the JDBC type
      Returns:
      the mapping result
      Throws:
      DomaNullPointerException - if any arguments are null
      SQLException - if an SQL related error occurs