org.springframework.batch.item.database

## Interface ItemPreparedStatementSetter<T>

- All Known Implementing Classes:
    ColumnMapItemPreparedStatementSetter, CustomerCreditUpdatePreparedStatementSetter

      public interface ItemPreparedStatementSetter<T>

  A convenient strategy for SQL updates, acting effectively as the inverse of `RowMapper`.
  Author:
    Dave Syer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setValues(T item, java.sql.PreparedStatement ps)` Set parameter values on the given PreparedStatement as determined from the provided item.

- - ### Method Detail

    - #### setValues

          void setValues(T item,
                         java.sql.PreparedStatement ps)
                  throws java.sql.SQLException

      Set parameter values on the given PreparedStatement as determined from the provided item.
      Parameters:
        `ps` - the PreparedStatement to invoke setter methods on
      Throws:
        `java.sql.SQLException` - if a SQLException is encountered (i.e. there is no need to catch SQLException)