Uses of Interface
org.springframework.jdbc.core.PreparedStatementCreator
Packages that use PreparedStatementCreator
Package
Description
Provides the core JDBC framework, based on JdbcTemplate
and its associated callback interfaces and helper objects.
JdbcTemplate variant with named parameter support.
The classes in this package represent RDBMS queries, updates,
and stored procedures as threadsafe, reusable objects.
-
Uses of PreparedStatementCreator in org.springframework.jdbc.core
Methods in org.springframework.jdbc.core that return PreparedStatementCreatorModifier and TypeMethodDescriptionPreparedStatementCreatorFactory.newPreparedStatementCreator(Object[] params) Return a new PreparedStatementCreator for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementCreator(String sqlToUse, Object[] params) Return a new PreparedStatementCreator for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementCreator(List<?> params) Return a new PreparedStatementCreator for the given parameters.Methods in org.springframework.jdbc.core with parameters of type PreparedStatementCreatorModifier and TypeMethodDescription<T> TJdbcOperations.execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TJdbcTemplate.execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action) <T> TJdbcOperations.query(PreparedStatementCreator psc, ResultSetExtractor<T> rse) Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.voidJdbcOperations.query(PreparedStatementCreator psc, RowCallbackHandler rch) Query using a prepared statement, reading the ResultSet on a per-row basis with a RowCallbackHandler.<T> List<T>JdbcOperations.query(PreparedStatementCreator psc, RowMapper<T> rowMapper) Query using a prepared statement, mapping each row to a result object via a RowMapper.<T> TJdbcTemplate.query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.<T> TJdbcTemplate.query(PreparedStatementCreator psc, ResultSetExtractor<T> rse) voidJdbcTemplate.query(PreparedStatementCreator psc, RowCallbackHandler rch) <T> List<T>JdbcTemplate.query(PreparedStatementCreator psc, RowMapper<T> rowMapper) <T> Stream<T>JdbcOperations.queryForStream(PreparedStatementCreator psc, RowMapper<T> rowMapper) Query using a prepared statement, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.<T> Stream<T>JdbcTemplate.queryForStream(PreparedStatementCreator psc, PreparedStatementSetter pss, RowMapper<T> rowMapper) Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.<T> Stream<T>JdbcTemplate.queryForStream(PreparedStatementCreator psc, RowMapper<T> rowMapper) intJdbcOperations.update(PreparedStatementCreator psc) Issue a single SQL update operation (such as an insert, update or delete statement) using a PreparedStatementCreator to provide SQL and any required parameters.intJdbcOperations.update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder) Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.intJdbcTemplate.update(PreparedStatementCreator psc) protected intJdbcTemplate.update(PreparedStatementCreator psc, PreparedStatementSetter pss) intJdbcTemplate.update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder) -
Uses of PreparedStatementCreator in org.springframework.jdbc.core.namedparam
Methods in org.springframework.jdbc.core.namedparam that return PreparedStatementCreatorModifier and TypeMethodDescriptionprotected PreparedStatementCreatorNamedParameterJdbcTemplate.getPreparedStatementCreator(String sql, SqlParameterSource paramSource) Build aPreparedStatementCreatorbased on the given SQL and named parameters.protected PreparedStatementCreatorNamedParameterJdbcTemplate.getPreparedStatementCreator(String sql, SqlParameterSource paramSource, Consumer<PreparedStatementCreatorFactory> customizer) Build aPreparedStatementCreatorbased on the given SQL and named parameters. -
Uses of PreparedStatementCreator in org.springframework.jdbc.object
Methods in org.springframework.jdbc.object that return PreparedStatementCreatorModifier and TypeMethodDescriptionprotected final PreparedStatementCreatorSqlOperation.newPreparedStatementCreator(Object[] params) Return a PreparedStatementCreator to perform an operation with the given parameters.protected final PreparedStatementCreatorSqlOperation.newPreparedStatementCreator(String sqlToUse, Object[] params) Return a PreparedStatementCreator to perform an operation with the given parameters.