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
Class Expectations.BasicParamExpectation

    java.lang.Object
      org.hibernate.jdbc.Expectations.BasicExpectation
          org.hibernate.jdbc.Expectations.BasicParamExpectation

All Implemented Interfaces:
  Expectation

Enclosing class:
  Expectations

    public static class Expectations.BasicParamExpectation

extends Expectations.BasicExpectation

Constructor Summary
`protected` | `Expectations.BasicParamExpectation(int expectedRowCount, int parameterPosition)`

Method Summary
`boolean` | `canBeBatched()`
`protected int` | `determineRowCount(int reportedRowCount, PreparedStatement statement)`
`int` | `prepare(PreparedStatement statement)`

Methods inherited from class org.hibernate.jdbc.Expectations.BasicExpectation
`verifyOutcome`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Expectations.BasicParamExpectation

    protected Expectations.BasicParamExpectation(int expectedRowCount,
                                                 int parameterPosition)

Method Detail

### prepare

    public int prepare(PreparedStatement statement)
                throws SQLException,
                       HibernateException

  Specified by:
    `prepare` in interface `Expectation`
  Overrides:
    `prepare` in class `Expectations.BasicExpectation`
  Throws:
    `SQLException`
    `HibernateException`

### canBeBatched

    public boolean canBeBatched()

  Specified by:
    `canBeBatched` in interface `Expectation`
  Overrides:
    `canBeBatched` in class `Expectations.BasicExpectation`

### determineRowCount

    protected int determineRowCount(int reportedRowCount,
                                    PreparedStatement statement)

  Overrides:
    `determineRowCount` in class `Expectations.BasicExpectation`

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