Package com.iizix.db.api
Interface IUpdateProcessor
public interface IUpdateProcessor
Interface implemented by an Update Processor for database transactions executing an SQL update query statement, i.e. INSERT, UPDATE or DELETE statements.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoid
onResult
(ResultProps rcProps, PreparedStatement statement, long updateCount) Method called when the database transaction completes execution of the call toPreparedStatement.executeUpdate()
or alike (depending on large update support or not).
Method Details
onResult
void onResult(ResultProps rcProps, PreparedStatement statement, long updateCount) throws SQLException Method called when the database transaction completes execution of the call toPreparedStatement.executeUpdate()
or alike (depending on large update support or not).- Parameters:
rcProps
- The result properties.statement
- The prepared update statement.updateCount
- The update count.- Throws:
SQLException
- In case of SQL exceptions.