Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.jdbc
Interface Expectation

All Known Implementing Classes:
  Expectations.BasicExpectation, Expectations.BasicParamExpectation

    public interface Expectation

Defines an expected DML operation outcome.

Author:
  Steve Ebersole

Method Summary
`boolean` | `canBeBatched()`
`int` | `prepare(PreparedStatement statement)`
`void` | `verifyOutcome(int rowCount, PreparedStatement statement, int batchPosition)`

Method Detail

### verifyOutcome

    void verifyOutcome(int rowCount,
                       PreparedStatement statement,
                       int batchPosition)
                       throws SQLException,
                              HibernateException

  Throws:
    `SQLException`
    `HibernateException`

### prepare

    int prepare(PreparedStatement statement)
                throws SQLException,
                       HibernateException

  Throws:
    `SQLException`
    `HibernateException`

### canBeBatched

    boolean canBeBatched()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD