Interface OperationResultChecker
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Incubating @FunctionalInterface public interface OperationResultChecker
Used to check the results of a statement execution
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
checkResult(PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition)
Check the result of a JDBC operation
-
-
-
Method Detail
-
checkResult
boolean checkResult(PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition) throws SQLException
Check the result of a JDBC operation- Parameters:
statementDetails
- Details for the SQL statement executedaffectedRowCount
- The number of rows affected by the operation, as reported by the JDBC driverbatchPosition
- The execution's position within the active batch, if one; if not batching, -1 will be passed- Returns:
true
indicates an execution that is considered successful;false
indicates unsuccessful- Throws:
SQLException
-
-