类 Collections
- java.lang.Object
-
- org.hibernate.engine.internal.Collections
-
public final class Collections extends Object
Implements book-keeping for the collection persistence by reachability algorithm- 作者:
- Gavin King
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidprocessReachableCollection(PersistentCollection collection, CollectionType type, Object entity, SessionImplementor session)Initialize the role of the collection.static voidprocessUnreachableCollection(PersistentCollection coll, SessionImplementor session)record the fact that this collection was dereferenced
-
-
-
方法详细资料
-
processUnreachableCollection
public static void processUnreachableCollection(PersistentCollection coll, SessionImplementor session)
record the fact that this collection was dereferenced- 参数:
coll- The collection to be updated by un-reachability.session- The session
-
processReachableCollection
public static void processReachableCollection(PersistentCollection collection, CollectionType type, Object entity, SessionImplementor session)
Initialize the role of the collection.- 参数:
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 originates
-
-