Top Description Constructors Methods
org.hibernate.action.internal

public final Class QueuedOperationCollectionAction

extends CollectionAction
Class Inheritance
Imports
org.hibernate.HibernateException, org.hibernate.collection.spi.AbstractPersistentCollection, .PersistentCollection, org.hibernate.engine.spi.CollectionEntry, org.hibernate.event.spi.EventSource, org.hibernate.persister.collection.CollectionPersister

If a collection is extra lazy and has queued ops, we still need to process them.

For example, org.hibernate.persister.collection.OneToManyPersister needs to insert indexes for lists. See HHH-8083.

Author
Brett Meyer

Constructor Summary

AccessConstructor and Description
public
QueuedOperationCollectionAction(final PersistentCollection<?>
The collection to update
collection
,
final CollectionPersister
The collection persister
persister
,
final Object
The collection key
id
,
final EventSource
The session
session
)

Constructs a CollectionUpdateAction

Method Summary

Modifier and TypeMethod and Description
public void
execute()

Implements org.hibernate.action.spi.Executable.execute.

Execute this action.
Inherited from org.hibernate.action.internal.CollectionAction:
afterDeserializebeforeExecutionscompareToeventSourceevictgetAfterTransactionCompletionProcessgetBeforeTransactionCompletionProcessgetCollectiongetFastSessionServicesgetKeygetPersistergetPrimarySortClassifiergetPropertySpacesgetSecondarySortIndexgetSessiontoString

Constructor Detail

QueuedOperationCollectionActionback to summary
public QueuedOperationCollectionAction(final PersistentCollection<?> collection, final CollectionPersister persister, final Object id, final EventSource session)

Constructs a CollectionUpdateAction

Parameters
collection:PersistentCollection<?>

The collection to update

persister:CollectionPersister

The collection persister

id:Object

The collection key

session:EventSource

The session

Method Detail

executeback to summary
public void execute() throws HibernateException

Implements org.hibernate.action.spi.Executable.execute.

Doc from org.hibernate.action.spi.Executable.execute.

Execute this action.

Annotations
@Override
Exceptions
HibernateException:
Indicates a problem during execution.