Uses of Interface
org.hibernate.jdbc.Expectation
Packages that use Expectation
Package
Description
Dialect contracts for selecting SQL AST translators and
expressing database-specific SQL AST rendering behavior.
Strategies for efficient retrieval of database-generated values.
Contains a framework of strategies for retrieving database-generated ids.
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.
This package defines the Hibernate configuration-time mapping model.
This package abstracts persistence mechanisms for entities.
Defines support for performing mutation operations originating
from persistence-context events.
SQL AST and builders used with flushed-based mutations (persist, merge, etc.).
Logical post-translation mutation contracts used for batching and execution.
Extensions to
JdbcOperation for model mutations.-
Uses of Expectation in org.hibernate.action.queue.spi.bind
Methods in org.hibernate.action.queue.spi.bind with parameters of type ExpectationModifier and TypeMethodDescriptionstatic booleanCheckers.identifiedResultsCheck(Expectation expectation, int affectedRowCount, PreparedStatement statement, int batchPosition, MutationTarget mutationTarget, TableDescriptor mutatingTable, Object id, String sqlString, SessionFactoryImplementor sessionFactory) -
Uses of Expectation in org.hibernate.boot.models.annotations.spi
Methods in org.hibernate.boot.models.annotations.spi that return types with arguments of type ExpectationMethod parameters in org.hibernate.boot.models.annotations.spi with type arguments of type ExpectationModifier and TypeMethodDescriptionvoidCustomSqlDetails.verify(Class<? extends Expectation> value) -
Uses of Expectation in org.hibernate.dialect.sql.ast.spi
Methods in org.hibernate.dialect.sql.ast.spi that return ExpectationModifier and TypeMethodDescriptionprotected ExpectationPostgreSQLFamilySqlAstTranslator.expectation(OptionalTableUpdate optionalTableUpdate) protected ExpectationSqlAstTranslatorWithMerge.expectation(OptionalTableUpdate optionalTableUpdate) protected ExpectationSqlAstTranslatorWithUpsert.expectation(OptionalTableUpdate optionalTableUpdate) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Expectation in org.hibernate.engine.jdbc.mutation.group
Methods in org.hibernate.engine.jdbc.mutation.group that return ExpectationModifier and TypeMethodDescriptionPreparedStatementDetails.getExpectation()The expectation used to validate the outcome of the execution -
Uses of Expectation in org.hibernate.generator.values
Methods in org.hibernate.generator.values with parameters of type ExpectationModifier and TypeMethodDescriptionGeneratedValuesMutationDelegate.createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor sessionFactory) Create aTableMutationBuilderinstance 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 ExpectationModifier and TypeMethodDescriptionBasicSelectingDelegate.createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory) GetGeneratedKeysDelegate.createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory) InsertReturningDelegate.createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor sessionFactory) UniqueKeySelectingDelegate.createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory) UpdateVersionSelectDelegate.createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor sessionFactory) -
Uses of Expectation in org.hibernate.jdbc
Classes in org.hibernate.jdbc that implement ExpectationModifier and TypeClassDescriptionstatic classNo return code checking.static classRow count checking.static classEssentially identical toExpectation.RowCountexcept that the row count is obtained via an output parameter of a stored procedure.static classRow count checking.static classRow count checking.Methods in org.hibernate.jdbc that return ExpectationModifier and TypeMethodDescriptionstatic ExpectationExpectations.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 ExpectationModifier and TypeMethodDescriptionstatic ExpectationExpectations.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 ExpectationModifier and TypeMethodDescriptionSupplier<? 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 ExpectationModifier and TypeMethodDescriptionvoidCollection.setDeleteAllExpectation(Supplier<? extends Expectation> deleteAllExpectation) voidCollection.setDeleteExpectation(Supplier<? extends Expectation> deleteExpectation) voidJoin.setDeleteExpectation(Supplier<? extends Expectation> deleteExpectation) voidPersistentClass.setDeleteExpectation(Supplier<? extends Expectation> deleteExpectation) voidCollection.setInsertExpectation(Supplier<? extends Expectation> insertExpectation) voidJoin.setInsertExpectation(Supplier<? extends Expectation> insertExpectation) voidPersistentClass.setInsertExpectation(Supplier<? extends Expectation> insertExpectation) voidCollection.setUpdateExpectation(Supplier<? extends Expectation> updateExpectation) voidJoin.setUpdateExpectation(Supplier<? extends Expectation> updateExpectation) voidPersistentClass.setUpdateExpectation(Supplier<? extends Expectation> updateExpectation) -
Uses of Expectation in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that return ExpectationModifier and TypeMethodDescriptionAbstractEntityPersister.CustomSqlMutationDetails.expectation()Returns the value of theexpectationrecord component.Constructors in org.hibernate.persister.entity with parameters of type ExpectationModifierConstructorDescriptionprotectedCustomSqlMutationDetails(Expectation expectation, String customSql, boolean callable) Creates an instance of aCustomSqlMutationDetailsrecord class. -
Uses of Expectation in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation that return ExpectationModifier and TypeMethodDescriptionEntityTableMapping.getDeleteExpectation()EntityTableMappingImpl.getDeleteExpectation()EntityTableMapping.getInsertExpectation()EntityTableMappingImpl.getInsertExpectation()EntityTableMapping.getUpdateExpectation()EntityTableMappingImpl.getUpdateExpectation()Constructors in org.hibernate.persister.entity.mutation with parameters of type ExpectationModifierConstructorDescriptionEntityTableMappingImpl(String tableName, int relativePosition, EntityTableMappingImpl.KeyMapping keyMapping, boolean isOptional, boolean isInverse, boolean isIdentifierTable, boolean isSecondaryTable, 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.ast.spi.model
Methods in org.hibernate.sql.ast.spi.model that return ExpectationModifier and TypeMethodDescriptionAbstractTableDelete.getExpectation()AbstractTableInsert.getExpectation()AbstractTableUpdate.getExpectation()OptionalTableUpdate.getExpectation()TableMutation.getExpectation()The validation expectation for the mutationTableUpdateStandard.getExpectation()Constructors in org.hibernate.sql.ast.spi.model with parameters of type ExpectationModifierConstructorDescriptionTableUpdateStandard(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.spi.mutation
Methods in org.hibernate.sql.spi.mutation that return ExpectationModifier and TypeMethodDescriptionTableMapping.MutationDetails.getExpectation()The expectation for this mutationConstructors in org.hibernate.sql.spi.mutation with parameters of type ExpectationModifierConstructorDescriptionMutationDetails(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.spi.mutation.jdbc
Methods in org.hibernate.sql.spi.mutation.jdbc that return ExpectationModifier and TypeMethodDescriptionfinal ExpectationAbstractJdbcMutation.getExpectation()PreparableMutationOperation.getExpectation()The expected outcome of executionConstructors in org.hibernate.sql.spi.mutation.jdbc with parameters of type ExpectationModifierConstructorDescriptionprotectedAbstractJdbcMutation(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) 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) MergeOperation(TableMapping tableDetails, MutationTarget mutationTarget, String sql, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders) protectedOptionalTableUpdateOperation(MutationTarget mutationTarget, OptionalTableUpdate upsert, Expectation expectation) UpsertOperation(TableMapping tableDetails, MutationTarget mutationTarget, String sql, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders)