org.hibernate.jdbc
Class Expectations.BasicExpectation
java.lang.Object
org.hibernate.jdbc.Expectations.BasicExpectation
- All Implemented Interfaces:
- Expectation
- Direct Known Subclasses:
- Expectations.BasicParamExpectation
- Enclosing class:
- Expectations
public static class Expectations.BasicExpectation
- extends Object
- implements Expectation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Expectations.BasicExpectation
protected Expectations.BasicExpectation(int expectedRowCount)
verifyOutcome
public final void verifyOutcome(int rowCount,
PreparedStatement statement,
int batchPosition)
- Specified by:
verifyOutcome
in interface Expectation
prepare
public int prepare(PreparedStatement statement)
throws SQLException,
HibernateException
- Specified by:
prepare
in interface Expectation
- Throws:
SQLException
HibernateException
canBeBatched
public boolean canBeBatched()
- Specified by:
canBeBatched
in interface Expectation
determineRowCount
protected int determineRowCount(int reportedRowCount,
PreparedStatement statement)