org.hibernate.action.internal
Class QueuedOperationCollectionAction

java.lang.Object
  extended by org.hibernate.action.internal.CollectionAction
      extended by org.hibernate.action.internal.QueuedOperationCollectionAction
All Implemented Interfaces:
Serializable, Comparable, Executable

public final class QueuedOperationCollectionAction
extends CollectionAction

If a collection is extra lazy and has queued ops, we still need to process them. Ex: OneToManyPersister needs to insert indexes for List collections. See HHH-8083.

See Also:
Serialized Form

Constructor Summary
QueuedOperationCollectionAction(PersistentCollection collection, CollectionPersister persister, Serializable id, SessionImplementor session)
          Constructs a CollectionUpdateAction
 
Method Summary
 void execute()
          Execute this action
 
Methods inherited from class org.hibernate.action.internal.CollectionAction
afterDeserialize, beforeExecutions, compareTo, eventSource, evict, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getCollection, getKey, getPersister, getPropertySpaces, getSession, listenerGroup, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueuedOperationCollectionAction

public QueuedOperationCollectionAction(PersistentCollection collection,
                                       CollectionPersister persister,
                                       Serializable id,
                                       SessionImplementor session)
Constructs a CollectionUpdateAction

Parameters:
collection - The collection to update
persister - The collection persister
id - The collection key
session - 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.


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.