liquibase.database.template.CallableStatementCallback Interface Reference

List of all members.


Detailed Description

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

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.

Member Function Documentation

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.

Parameters:
cs active JDBC CallableStatement
Returns:
a result object, or null if none
Exceptions:
SQLException if thrown by a JDBC method, to be auto-converted into a DataAccessException by a SQLExceptionTranslator
JDBCException in case of custom exceptions


The documentation for this interface was generated from the following file:

doxygen