| liquibase.database.template.CallableStatementCallback
CallableStatementCallback | interface CallableStatementCallback (Code) | | Generic callback interface for code that operates on a CallableStatement.
Allows to execute any number of operations on a single CallableStatement,
for example a single execute call or repeated execute calls with varying
parameters.
author: Spring Framework |
doInCallableStatement | Object doInCallableStatement(CallableStatement cs) throws SQLException(Code) | | 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.
Parameters: cs - active JDBC CallableStatement a result object, or null if none throws: SQLException - if thrown by a JDBC method, to be auto-convertedinto a DataAccessException by a SQLExceptionTranslator throws: JDBCException - in case of custom exceptions |
|
|