public final class

Collections

extends Object
java.lang.Object
   ↳ org.hibernate.engine.Collections

Class Overview

Implements book-keeping for the collection persistence by reachability algorithm

Summary

Public Methods
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
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void processReachableCollection (PersistentCollection collection, CollectionType type, Object entity, SessionImplementor session)

Initialize the role of the collection.

Parameters
collection The collection to be updated by reachibility.
type The type of the collection.
entity The owner of the collection.

public static void processUnreachableCollection (PersistentCollection coll, SessionImplementor session)

record the fact that this collection was dereferenced

Parameters
coll The collection to be updated by unreachability.