Uses of Interface
org.hibernate.jdbc.Expectation
-
Packages that use Expectation Package Description org.hibernate.annotations A set of mapping annotations which extend the O/R mapping annotations defined by JPA.org.hibernate.engine.jdbc.batch.internal Internals for JDBC batching support.org.hibernate.engine.jdbc.batch.spi Defines contracts for JDBC batching support.org.hibernate.engine.jdbc.mutation.group org.hibernate.engine.jdbc.mutation.internal org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.generator.values Contains a framework of strategies for efficient retrieval of database-generated values.org.hibernate.id.insert Contains a framework of strategies for retrieving database-generated ids.org.hibernate.jdbc A small API allowing the client of a Hibernate session to interact directly with JDBC, using the same connection and transaction obtained by the session.org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.persister.entity.mutation Defines support for performing mutation operations originating from persistence-context events.org.hibernate.sql.model Package contains specialized SQL AST nodes and builders for table mutations of model parts originating from normal persistence-context events.org.hibernate.sql.model.ast SQL AST extensions for model mutations.org.hibernate.sql.model.internal org.hibernate.sql.model.jdbc Extensions toJdbcOperation
for model mutations. -
-
Uses of Expectation in org.hibernate.annotations
Methods in org.hibernate.annotations that return types with arguments of type Expectation Modifier and Type Method Description Class<? extends Expectation>
verify()
AnExpectation
class used to verify that the operation was successful.Class<? extends Expectation>
verify()
AnExpectation
class used to verify that the operation was successful.Class<? extends Expectation>
verify()
AnExpectation
class used to verify that the operation was successful.Class<? extends Expectation>
verify()
AnExpectation
class used to verify that the operation was successful. -
Uses of Expectation in org.hibernate.engine.jdbc.batch.internal
Methods in org.hibernate.engine.jdbc.batch.internal that return Expectation Modifier and Type Method Description Expectation
BasicBatchKey. getExpectation()
Constructors in org.hibernate.engine.jdbc.batch.internal with parameters of type Expectation Constructor Description BasicBatchKey(String comparison, Expectation expectation)
Constructs a BasicBatchKey -
Uses of Expectation in org.hibernate.engine.jdbc.batch.spi
Methods in org.hibernate.engine.jdbc.batch.spi that return Expectation Modifier and Type Method Description Expectation
BatchKey. getExpectation()
Deprecated.With no replacement. -
Uses of Expectation in org.hibernate.engine.jdbc.mutation.group
Methods in org.hibernate.engine.jdbc.mutation.group that return Expectation Modifier and Type Method Description Expectation
PreparedStatementDetails. getExpectation()
The expectation used to validate the outcome of the execution -
Uses of Expectation in org.hibernate.engine.jdbc.mutation.internal
Methods in org.hibernate.engine.jdbc.mutation.internal that return Expectation Modifier and Type Method Description Expectation
PreparedStatementDetailsStandard. getExpectation()
Constructors in org.hibernate.engine.jdbc.mutation.internal with parameters of type Expectation Constructor Description PreparedStatementDetailsStandard(PreparableMutationOperation tableMutation, String sql, Supplier<PreparedStatement> jdbcStatementCreator, Expectation expectation, JdbcServices jdbcServices)
-
Uses of Expectation in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return types with arguments of type Expectation Modifier and Type Method Description Class<? extends Expectation>
ExecuteUpdateResultCheckStyle. expectationClass()
Deprecated, for removal: This API element is subject to removal in a future version.Supplier<? extends Expectation>
ExecuteUpdateResultCheckStyle. expectationConstructor()
Deprecated, for removal: This API element is subject to removal in a future version.static @Nullable Supplier<? extends Expectation>
ExecuteUpdateResultCheckStyle. expectationConstructor(@Nullable ExecuteUpdateResultCheckStyle style)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Expectation in org.hibernate.generator.values
Methods in org.hibernate.generator.values with parameters of type Expectation Modifier and Type Method Description TableMutationBuilder<?>
GeneratedValuesMutationDelegate. createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor sessionFactory)
Create aTableMutationBuilder
instance used to build table mutations for this delegate. -
Uses of Expectation in org.hibernate.id.insert
Methods in org.hibernate.id.insert with parameters of type Expectation Modifier and Type Method Description default TableInsertBuilder
InsertGeneratedIdentifierDelegate. createTableInsertBuilder(BasicEntityIdentifierMapping identifierMapping, Expectation expectation, SessionFactoryImplementor sessionFactory)
Deprecated, for removal: This API element is subject to removal in a future version.Create aTableInsertBuilder
with any specific identity handling already built in.TableMutationBuilder<?>
BasicSelectingDelegate. createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory)
TableMutationBuilder<?>
GetGeneratedKeysDelegate. createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory)
TableMutationBuilder<?>
InsertReturningDelegate. createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor sessionFactory)
TableMutationBuilder<?>
UniqueKeySelectingDelegate. createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory)
-
Uses of Expectation in org.hibernate.jdbc
Classes in org.hibernate.jdbc that implement Expectation Modifier and Type Class Description static class
Expectation.None
No return code checking.static class
Expectation.OutParameter
Essentially identical toExpectation.RowCount
except that the row count is obtained via an output parameter of astored procedure
.static class
Expectation.RowCount
Row count checking.static class
Expectations.BasicExpectation
Deprecated.UseExpectation.RowCount
, creating a custom subclass if necessarystatic class
Expectations.BasicParamExpectation
Deprecated.UseExpectation.OutParameter
, creating a custom subclass if necessaryFields in org.hibernate.jdbc declared as Expectation Modifier and Type Field Description static Expectation
Expectations. BASIC
Deprecated.static Expectation
Expectations. NONE
Deprecated.UseExpectation.None
static Expectation
Expectations. PARAM
Deprecated.Methods in org.hibernate.jdbc that return Expectation Modifier and Type Method Description static Expectation
Expectations. appropriateExpectation(ExecuteUpdateResultCheckStyle style)
Deprecated, for removal: This API element is subject to removal in a future version.static Expectation
Expectations. createExpectation(Supplier<? extends Expectation> expectation, boolean callable)
Create an instance of the given class implementingExpectation
.Method parameters in org.hibernate.jdbc with type arguments of type Expectation Modifier and Type Method Description static Expectation
Expectations. createExpectation(Supplier<? extends Expectation> expectation, boolean callable)
Create an instance of the given class implementingExpectation
. -
Uses of Expectation in org.hibernate.mapping
Methods in org.hibernate.mapping that return types with arguments of type Expectation Modifier and Type Method Description Supplier<? extends Expectation>
Collection. getDeleteAllExpectation()
Supplier<? extends Expectation>
Collection. getDeleteExpectation()
Supplier<? extends Expectation>
Join. getDeleteExpectation()
Supplier<? extends Expectation>
PersistentClass. getDeleteExpectation()
Supplier<? extends Expectation>
Collection. getInsertExpectation()
Supplier<? extends Expectation>
Join. getInsertExpectation()
Supplier<? extends Expectation>
PersistentClass. getInsertExpectation()
Supplier<? extends Expectation>
Collection. getUpdateExpectation()
Supplier<? extends Expectation>
Join. getUpdateExpectation()
Supplier<? extends Expectation>
PersistentClass. getUpdateExpectation()
Method parameters in org.hibernate.mapping with type arguments of type Expectation Modifier and Type Method Description void
Collection. setDeleteAllExpectation(Supplier<? extends Expectation> deleteAllExpectation)
void
Collection. setDeleteExpectation(Supplier<? extends Expectation> deleteExpectation)
void
Join. setDeleteExpectation(Supplier<? extends Expectation> deleteExpectation)
void
PersistentClass. setDeleteExpectation(Supplier<? extends Expectation> deleteExpectation)
void
Collection. setInsertExpectation(Supplier<? extends Expectation> insertExpectation)
void
Join. setInsertExpectation(Supplier<? extends Expectation> insertExpectation)
void
PersistentClass. setInsertExpectation(Supplier<? extends Expectation> insertExpectation)
void
Collection. setUpdateExpectation(Supplier<? extends Expectation> updateExpectation)
void
Join. setUpdateExpectation(Supplier<? extends Expectation> updateExpectation)
void
PersistentClass. setUpdateExpectation(Supplier<? extends Expectation> updateExpectation)
-
Uses of Expectation in org.hibernate.persister.entity
Fields in org.hibernate.persister.entity declared as Expectation Modifier and Type Field Description protected Expectation[]
AbstractEntityPersister. deleteExpectations
Deprecated.protected Expectation[]
AbstractEntityPersister. insertExpectations
Deprecated.protected Expectation[]
AbstractEntityPersister. updateExpectations
Deprecated.Methods in org.hibernate.persister.entity with parameters of type Expectation Modifier and Type Method Description protected boolean
AbstractEntityPersister. check(int rows, Object id, int tableNumber, Expectation expectation, PreparedStatement statement, String statementSQL)
-
Uses of Expectation in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation that return Expectation Modifier and Type Method Description Expectation
EntityTableMapping. getDeleteExpectation()
Expectation
EntityTableMapping. getInsertExpectation()
Expectation
EntityTableMapping. getUpdateExpectation()
Constructors in org.hibernate.persister.entity.mutation with parameters of type Expectation Constructor Description EntityTableMapping(String tableName, int relativePosition, EntityTableMapping.KeyMapping keyMapping, boolean isOptional, boolean isInverse, boolean isIdentifierTable, int[] attributeIndexes, Expectation insertExpectation, String insertCustomSql, boolean insertCallable, Expectation updateExpectation, String updateCustomSql, boolean updateCallable, boolean cascadeDeleteEnabled, Expectation deleteExpectation, String deleteCustomSql, boolean deleteCallable, boolean dynamicUpdate, boolean dynamicInsert)
-
Uses of Expectation in org.hibernate.sql.model
Methods in org.hibernate.sql.model that return Expectation Modifier and Type Method Description Expectation
PreparableMutationOperation. getExpectation()
The expected outcome of executionExpectation
TableMapping.MutationDetails. getExpectation()
The expectation for this mutationConstructors in org.hibernate.sql.model with parameters of type Expectation Constructor Description MutationDetails(MutationType mutationType, Expectation expectation, String customSql, boolean callable)
MutationDetails(MutationType mutationType, Expectation expectation, String customSql, boolean callable, boolean dynamicMutation)
-
Uses of Expectation in org.hibernate.sql.model.ast
Methods in org.hibernate.sql.model.ast that return Expectation Modifier and Type Method Description Expectation
AbstractTableDelete. getExpectation()
Expectation
AbstractTableInsert. getExpectation()
Expectation
AbstractTableUpdate. getExpectation()
Expectation
TableMutation. getExpectation()
The validation expectation for the mutation -
Uses of Expectation in org.hibernate.sql.model.internal
Methods in org.hibernate.sql.model.internal that return Expectation Modifier and Type Method Description Expectation
OptionalTableUpdate. getExpectation()
Expectation
TableUpdateNoSet. getExpectation()
Expectation
TableUpdateStandard. getExpectation()
Constructors in org.hibernate.sql.model.internal with parameters of type Expectation Constructor Description TableUpdateStandard(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, String whereFragment, Expectation expectation, List<ColumnReference> returningColumns)
TableUpdateStandard(MutatingTableReference tableReference, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters, String whereFragment, Expectation expectation)
-
Uses of Expectation in org.hibernate.sql.model.jdbc
Methods in org.hibernate.sql.model.jdbc that return Expectation Modifier and Type Method Description Expectation
AbstractJdbcMutation. getExpectation()
Constructors in org.hibernate.sql.model.jdbc with parameters of type Expectation Constructor Description AbstractJdbcMutation(TableMapping tableDetails, MutationTarget<?> mutationTarget, String sql, boolean callable, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders)
JdbcDeleteMutation(TableMapping tableDetails, MutationTarget<?> mutationTarget, String sql, boolean callable, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders)
JdbcDeleteMutation(TableMapping tableDetails, MutationType mutationType, MutationTarget<?> mutationTarget, String sql, boolean callable, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders)
JdbcInsertMutation(TableMapping tableDetails, MutationTarget<?> mutationTarget, String sql, boolean callable, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders)
JdbcUpdateMutation(TableMapping tableDetails, MutationTarget<?> mutationTarget, String sql, boolean callable, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders)
-