Allows to execute any number of operations on a single CallableStatement, for example a single execute call or repeated execute calls with varying parameters.
Definition at line 16 of file CallableStatementCallback.java.
Package Functions | |
| Object | doInCallableStatement (CallableStatement cs) throws SQLException |
Gets called by JdbcTemplate.execute with an active JDBC CallableStatement. | |
| Object liquibase.database.template.CallableStatementCallback.doInCallableStatement | ( | CallableStatement | cs | ) | throws SQLException [package] |
Gets called by JdbcTemplate.execute with an active JDBC CallableStatement.
Does not need to care about closing the Statement or the Connection, or about handling transactions: this will all be handled by Spring's JdbcTemplate.
| cs | active JDBC CallableStatement |
null if none | SQLException | if thrown by a JDBC method, to be auto-converted into a DataAccessException by a SQLExceptionTranslator | |
| JDBCException | in case of custom exceptions |