Interface JdbcTypeMapper.ColumnSourceBinder

Enclosing class:
JdbcTypeMapper

public static interface JdbcTypeMapper.ColumnSourceBinder
A closure that can be used to bind a ColumnSource to the given PreparedStatement and parameter index.
  • Method Summary

    Modifier and Type Method Description
    void bind​(PreparedStatement stmt, int parameterIndex, long rowIndex)
    Bind a value from the ColumnSource at the given rowIndex to the given PreparedStatement and parameter index.
  • Method Details

    • bind

      void bind​(PreparedStatement stmt, int parameterIndex, long rowIndex) throws SQLException
      Bind a value from the ColumnSource at the given rowIndex to the given PreparedStatement and parameter index.
      Parameters:
      stmt - the statement to which to bind the value
      parameterIndex - the parameter index to bind
      rowIndex - the source row index
      Throws:
      SQLException - if an error occurs