Package org.hibernate.action.internal
Class QueuedOperationCollectionAction
- java.lang.Object
-
- org.hibernate.action.internal.CollectionAction
-
- org.hibernate.action.internal.QueuedOperationCollectionAction
-
- All Implemented Interfaces:
Serializable
,Comparable<ComparableExecutable>
,Executable
,ComparableExecutable
public final class QueuedOperationCollectionAction extends CollectionAction
If a collection is extra lazy and has queued ops, we still need to process them.For example,
OneToManyPersister
needs to insert indexes for lists. See HHH-8083.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueuedOperationCollectionAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, EventSource session)
Constructs a CollectionUpdateAction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Execute this action.-
Methods inherited from class org.hibernate.action.internal.CollectionAction
afterDeserialize, beforeExecutions, compareTo, eventSource, evict, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getCollection, getFastSessionServices, getKey, getPersister, getPrimarySortClassifier, getPropertySpaces, getSecondarySortIndex, getSession, toString
-
-
-
-
Constructor Detail
-
QueuedOperationCollectionAction
public QueuedOperationCollectionAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, EventSource session)
Constructs a CollectionUpdateAction- Parameters:
collection
- The collection to updatepersister
- The collection persisterid
- The collection keysession
- The session
-
-
Method Detail
-
execute
public void execute() throws HibernateException
Description copied from interface:Executable
Execute this action.- Throws:
HibernateException
- Indicates a problem during execution.
-
-