Top Description Methods
liquibase.executor.jvm

pack-priv Interface PreparedStatementCallback

Imports
java.sql.PreparedStatement

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

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a result object, or null if none
doInPreparedStatement
(PreparedStatement
active JDBC PreparedStatement
ps
)

Gets called by JdbcTemplate.execute with an active JDBC PreparedStatement.

Method Detail

doInPreparedStatementback to summary
public Object doInPreparedStatement(PreparedStatement ps)

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:PreparedStatement

active JDBC PreparedStatement

Returns:Object

a result object, or null if none