Package org.hibernate.jdbc
Class Expectations
java.lang.Object
org.hibernate.jdbc.Expectations
Useful operations for dealing with
Expectation
s.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Expectation
Deprecated.static final Expectation
Deprecated.UseExpectation.None
static final Expectation
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Expectation
createExpectation
(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 implementsExpectation
callable
- true if theExpectation
will be called withCallableStatement
s.- Returns:
- a new instance of the given class
- Since:
- 6.5
-
Expectation.RowCount