org.hibernate.engine
public final class Collections extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
processReachableCollection(PersistentCollection collection,
CollectionType type,
java.lang.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) throws HibernateException
coll
- The collection to be updated by unreachability.HibernateException
public static void processReachableCollection(PersistentCollection collection, CollectionType type, java.lang.Object entity, SessionImplementor session) throws HibernateException
collection
- The collection to be updated by reachibility.type
- The type of the collection.entity
- The owner of the collection.HibernateException
Copyright © 2014. All Rights Reserved.