public final class Collections extends Object
Modifier and Type | Method and Description |
---|---|
static void |
processReachableCollection(PersistentCollection collection,
CollectionType type,
Object entity,
SessionImplementor session)
Initialize the role of the collection.
|
static void |
processUnreachableCollection(PersistentCollection coll,
SessionImplementor session)
record the fact that this collection was dereferenced
|
public static void processUnreachableCollection(PersistentCollection coll, SessionImplementor session)
coll
- The collection to be updated by un-reachability.session
- The sessionpublic static void processReachableCollection(PersistentCollection collection, CollectionType type, Object entity, SessionImplementor session)
collection
- The collection to be updated by reachability.type
- The type of the collection.entity
- The owner of the collection.session
- The session from which this request originatesCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.