# Uses of Interface
org.springframework.jdbc.core.PreparedStatementSetter

Packages that use PreparedStatementSetter
Package
Description
org.springframework.jdbc.core
Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.
org.springframework.jdbc.object
The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects.

## Uses of PreparedStatementSetter in org.springframework.jdbc.core

Classes in org.springframework.jdbc.core that implement PreparedStatementSetter
Modifier and Type
Class
Description
`class`
`ArgumentPreparedStatementSetter`
Simple adapter for `PreparedStatementSetter` that applies a given array of arguments.
`class`
`ArgumentTypePreparedStatementSetter`
Simple adapter for `PreparedStatementSetter` that applies the given arrays of arguments and JDBC argument types.
Methods in org.springframework.jdbc.core that return PreparedStatementSetter
Modifier and Type
Method
Description
`protected PreparedStatementSetter`
JdbcTemplate.`newArgPreparedStatementSetter(Object[] args)`
Create a new arg-based PreparedStatementSetter using the args passed in.
`protected PreparedStatementSetter`
JdbcTemplate.`newArgTypePreparedStatementSetter(Object[] args, int[] argTypes)`
Create a new arg-type-based PreparedStatementSetter using the args and types passed in.
`PreparedStatementSetter`
PreparedStatementCreatorFactory.`newPreparedStatementSetter(Object[] params)`
Return a new PreparedStatementSetter for the given parameters.
`PreparedStatementSetter`
PreparedStatementCreatorFactory.`newPreparedStatementSetter(List<?> params)`
Return a new PreparedStatementSetter for the given parameters.
Methods in org.springframework.jdbc.core with parameters of type PreparedStatementSetter
Modifier and Type
Method
Description
`<T> T`
JdbcOperations.`query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse)`
Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.
`void`
JdbcOperations.`query(String sql, PreparedStatementSetter pss, RowCallbackHandler rch)`
Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.
`<T> List<T>`
JdbcOperations.`query(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper)`
Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a result object via a RowMapper.
`<T> T`
JdbcTemplate.`query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse)`
`void`
JdbcTemplate.`query(String sql, PreparedStatementSetter pss, RowCallbackHandler rch)`
`<T> List<T>`
JdbcTemplate.`query(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper)`
`<T> T`
JdbcTemplate.`query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor<T> rse)`
Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.
`<T> Stream<T>`
JdbcOperations.`queryForStream(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper)`
Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.
`<T> Stream<T>`
JdbcTemplate.`queryForStream(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper)`
`<T> Stream<T>`
JdbcTemplate.`queryForStream(PreparedStatementCreator psc, PreparedStatementSetter pss, RowMapper<T> rowMapper)`
Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.
`int`
JdbcOperations.`update(String sql, PreparedStatementSetter pss)`
Issue an update statement using a PreparedStatementSetter to set bind parameters, with given SQL.
`int`
JdbcTemplate.`update(String sql, PreparedStatementSetter pss)`
`protected int`
JdbcTemplate.`update(PreparedStatementCreator psc, PreparedStatementSetter pss)`

## Uses of PreparedStatementSetter in org.springframework.jdbc.object

Methods in org.springframework.jdbc.object that return PreparedStatementSetter
Modifier and Type
Method
Description
`protected final PreparedStatementSetter`
SqlOperation.`newPreparedStatementSetter(Object[] params)`
Return a PreparedStatementSetter to perform an operation with the given parameters.