org.hibernate.jdbc.Expectation |
Known Indirect Subclasses |
Defines an expected DML operation outcome.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Is it acceptable to combiner this expectation with statement batching?
| |||||||||||
Perform any special statement preparation.
| |||||||||||
Perform verification of the outcome of the RDBMS operation based on
the type of expectation defined.
|
Is it acceptable to combiner this expectation with statement batching?
Perform any special statement preparation.
statement | The statement to be prepared |
---|
SQLException | Exception from the JDBC driver |
---|---|
HibernateException | Problem performing preparation. |
Perform verification of the outcome of the RDBMS operation based on the type of expectation defined.
rowCount | The RDBMS reported "number of rows affected". |
---|---|
statement | The statement representing the operation |
batchPosition | The position in the batch (if batching) |
SQLException | Exception from the JDBC driver |
---|---|
HibernateException | Problem processing the outcome. |