Uses of Interface
org.hibernate.action.queue.spi.decompose.DecompositionContext
Packages that use DecompositionContext
Package
Description
This package abstracts persistence mechanisms for collections.
-
Uses of DecompositionContext in org.hibernate.action.queue.spi.decompose.collection
Methods in org.hibernate.action.queue.spi.decompose.collection with parameters of type DecompositionContextModifier and TypeMethodDescriptionvoidCollectionDecomposer.decomposeRecreate(org.hibernate.action.internal.CollectionRecreateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) Decomposes collection (re)create actions.voidCollectionDecomposer.decomposeRemove(org.hibernate.action.internal.CollectionRemoveAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) Decomposes collection removal ("delete all") operations.voidCollectionDecomposer.decomposeUpdate(org.hibernate.action.internal.CollectionUpdateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) Decomposes collection update actions. -
Uses of DecompositionContext in org.hibernate.action.queue.spi.decompose.entity
Methods in org.hibernate.action.queue.spi.decompose.entity that return DecompositionContextModifier and TypeMethodDescriptionEntityMutationPlanContributor.DeleteContext.decompositionContext()Returns the value of thedecompositionContextrecord component.EntityMutationPlanContributor.InsertContext.decompositionContext()Returns the value of thedecompositionContextrecord component.EntityMutationPlanContributor.UpdateContext.decompositionContext()Returns the value of thedecompositionContextrecord component.Methods in org.hibernate.action.queue.spi.decompose.entity with parameters of type DecompositionContextModifier and TypeMethodDescriptionvoidEntityActionDecomposer.decompose(A action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) Decompose the action into its constituent table operations.Constructors in org.hibernate.action.queue.spi.decompose.entity with parameters of type DecompositionContextModifierConstructorDescriptionDeleteContext(EntityPersister entityPersister, org.hibernate.action.internal.EntityDeleteAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Object identifier, Object version, Object[] state, PostDeleteHandling postDeleteHandling) Creates an instance of aDeleteContextrecord class.InsertContext(EntityPersister entityPersister, org.hibernate.action.internal.AbstractEntityInsertAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Object entity, Object identifier, Object[] state, InsertCacheHandling.CacheInsert cacheInsert) Creates an instance of aInsertContextrecord class.UpdateContext(EntityPersister entityPersister, org.hibernate.action.internal.EntityUpdateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Object entity, Object identifier, Object rowId, Object[] state, Object[] previousState, Object previousVersion, EntityEntry entityEntry, UpdateCacheHandling.CacheUpdate cacheUpdate) Creates an instance of aUpdateContextrecord class. -
Uses of DecompositionContext in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection with parameters of type DecompositionContextModifier and TypeMethodDescriptionvoidBasicCollectionPersister.decompose(org.hibernate.action.internal.CollectionRecreateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) voidBasicCollectionPersister.decompose(org.hibernate.action.internal.CollectionRemoveAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) voidBasicCollectionPersister.decompose(org.hibernate.action.internal.CollectionUpdateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) voidCollectionPersister.decompose(org.hibernate.action.internal.CollectionRecreateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) Decomposes a collection recreate action into planned operations.voidCollectionPersister.decompose(org.hibernate.action.internal.CollectionRemoveAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) Removes the collection: For collections with a collection-table, this will execute a DELETE based on the collection-key For one-to-many collections, this executes an UPDATE to unset the collection-key on the association tablevoidCollectionPersister.decompose(org.hibernate.action.internal.CollectionUpdateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) Decomposes a collection update action into planned operationsvoidOneToManyPersister.decompose(org.hibernate.action.internal.CollectionRecreateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) voidOneToManyPersister.decompose(org.hibernate.action.internal.CollectionRemoveAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer) voidOneToManyPersister.decompose(org.hibernate.action.internal.CollectionUpdateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Consumer<FlushOperation> operationConsumer)