|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.jdbc.Expectations.BasicExpectation
org.hibernate.jdbc.Expectations.BasicParamExpectation
public static class Expectations.BasicParamExpectation
Constructor Summary | |
---|---|
protected |
Expectations.BasicParamExpectation(int expectedRowCount,
int parameterPosition)
|
Method Summary | |
---|---|
boolean |
canBeBatched()
Is it acceptable to combiner this expectation with statement batching? |
protected int |
determineRowCount(int reportedRowCount,
java.sql.PreparedStatement statement)
|
int |
prepare(java.sql.PreparedStatement statement)
Perform any special statement preparation. |
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 |
---|
protected Expectations.BasicParamExpectation(int expectedRowCount, int parameterPosition)
Method Detail |
---|
public int prepare(java.sql.PreparedStatement statement) throws java.sql.SQLException, HibernateException
Expectation
prepare
in interface Expectation
prepare
in class Expectations.BasicExpectation
statement
- The statement to be prepared
java.sql.SQLException
- Exception from the JDBC driver
HibernateException
- Problem performing preparation.public boolean canBeBatched()
Expectation
canBeBatched
in interface Expectation
canBeBatched
in class Expectations.BasicExpectation
protected int determineRowCount(int reportedRowCount, java.sql.PreparedStatement statement)
determineRowCount
in class Expectations.BasicExpectation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |