- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.jdbc.core.PreparedStatementSetter
public class ListPreparedStatementSetter
extends java.lang.Object
implements org.springframework.jdbc.core.PreparedStatementSetter, org.springframework.beans.factory.InitializingBean
Implementation of the PreparedStatementSetter interface that accepts
a list of values to be set on a PreparedStatement. This is usually used in
conjunction with the JdbcCursorItemReader to allow for the replacement
of bind variables when generating the cursor. The order of the list will be
used to determine the ordering of setting variables. For example, the first
item in the list will be the first bind variable set. (i.e. it will
correspond to the first '?' in the SQL statement)