| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: True if batching can be combined with this expectation; false otherwise.Is it acceptable to combiner this expectation with statement batching? |
| public int | Returns: The number of bind positions consumed (if any)The statement to be prepared statement)Perform any special statement preparation. |
| public void | verifyOutcome(int
The RDBMS reported "number of rows affected". rowCount, PreparedStatement The statement representing the operation statement, int The position in the batch (if batching) batchPosition)Perform verification of the outcome of the RDBMS operation based on the type of expectation defined. |
| canBeBatched | back to summary |
|---|---|
| public boolean canBeBatched() Is it acceptable to combiner this expectation with statement batching?
| |
| prepare | back to summary |
|---|---|
| public int prepare(PreparedStatement statement) throws SQLException, HibernateException Perform any special statement preparation.
| |
| verifyOutcome | back to summary |
|---|---|
| public void verifyOutcome(int rowCount, PreparedStatement statement, int batchPosition) throws SQLException, HibernateException Perform verification of the outcome of the RDBMS operation based on the type of expectation defined.
| |