Package org.hibernate.jdbc
Class Expectations
java.lang.Object
org.hibernate.jdbc.Expectations
Useful operations for dealing with
Expectations.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExpectationDeprecated.static final ExpectationDeprecated.UseExpectation.Nonestatic final ExpectationDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpectationcreateExpectation(Supplier<? extends Expectation> expectation, boolean callable) Create an instance of the given class implementingExpectation.
-
Field Details
-
NONE
Deprecated.UseExpectation.None -
BASIC
Deprecated. -
PARAM
Deprecated.
-
-
Method Details
-
createExpectation
@Internal public static Expectation createExpectation(Supplier<? extends Expectation> expectation, boolean callable) Create an instance of the given class implementingExpectation.- Parameters:
expectation- a class which implementsExpectationcallable- true if theExpectationwill be called withCallableStatements.- Returns:
- a new instance of the given class
- Since:
- 6.5
-
Expectation.RowCount