Allows to execute any number of operations on a single PreparedStatement, for example a single executeUpdate call or repeated executeUpdate calls with varying parameters.
Definition at line 15 of file PreparedStatementCallback.java.
Package Functions | |
| Object | doInPreparedStatement (PreparedStatement ps) |
Gets called by JdbcTemplate.execute with an active JDBC PreparedStatement. | |
| Object liquibase.database.template.PreparedStatementCallback.doInPreparedStatement | ( | PreparedStatement | ps | ) | [package] |
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.
| ps | active JDBC PreparedStatement |
null if none | java.sql.SQLException | if thrown by a JDBC method, to be auto-converted to a DataAccessException by a SQLExceptionTranslator | |
| JDBCException | in case of custom exceptions |