Interface RowPreparedStatementSetter<T>

Type Parameters:
T - row type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Instances of this class allow setting values for a PreparedStatement for multiple rows.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setValues(T row, PreparedStatement preparedStatement)
    Set values for the given prepared statement.
  • Method Details

    • setValues

      void setValues(T row, PreparedStatement preparedStatement) throws SQLException
      Set values for the given prepared statement.
      Parameters:
      row - the row for which to set values
      preparedStatement - the prepared statement
      Throws:
      SQLException - if setting values fails