| liquibase.database.template.PreparedStatementCallback
PreparedStatementCallback | interface PreparedStatementCallback (Code) | | Generic callback interface for code that operates on a PreparedStatement.
Allows to execute any number of operations on a single PreparedStatement,
for example a single executeUpdate call or repeated
executeUpdate calls with varying parameters.
author: Spring Framework |
doInPreparedStatement | Object doInPreparedStatement(PreparedStatement ps)(Code) | | Gets called by JdbcTemplate.execute with an active JDBC
PreparedStatement. Does not need to care about closing the Statement
or the Connection, or about handling transactions: this will all be
handled by JdbcTemplate.
Parameters: ps - active JDBC PreparedStatement a result object, or null if none throws: java.sql.SQLException - if thrown by a JDBC method, to be auto-convertedto a DataAccessException by a SQLExceptionTranslator throws: JDBCException - in case of custom exceptions |
|
|