public interface ItemPreparedStatementSetter<T>
RowMapper
.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.
|
void setValues(T item, java.sql.PreparedStatement ps) throws java.sql.SQLException
item
- the item to obtain the values fromps
- the PreparedStatement to invoke setter methods onjava.sql.SQLException
- if a SQLException is encountered (i.e. there is no
need to catch SQLException)