| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | prepareCollectionForUpdate(PersistentCollection collection, CollectionEntry entry, EntityMode entityMode, SessionFactoryImplementor factory)
1. |
| private static void | |
| private static void | |
| public static void | processReachableCollection(PersistentCollection
The collection to be updated by reachibility. collection, CollectionType The type of the collection. type, Object The owner of the collection. entity, SessionImplementor session)Initialize the role of the collection. |
| public static void | processUnreachableCollection(PersistentCollection
The collection to be updated by unreachability. coll, SessionImplementor session)record the fact that this collection was dereferenced |
| log | back to summary |
|---|---|
| private static final Logger log | |
| Collections | back to summary |
|---|---|
| private Collections() | |
| prepareCollectionForUpdate | back to summary |
|---|---|
| private static void prepareCollectionForUpdate(PersistentCollection collection, CollectionEntry entry, EntityMode entityMode, SessionFactoryImplementor factory) throws HibernateException 1. record the collection role that this collection is referenced by 2. decide if the collection needs deleting/creating/updating (but don't actually schedule the action yet) | |
| processDereferencedCollection | back to summary |
|---|---|
| private static void processDereferencedCollection(PersistentCollection coll, SessionImplementor session) throws HibernateException | |
| processNeverReferencedCollection | back to summary |
|---|---|
| private static void processNeverReferencedCollection(PersistentCollection coll, SessionImplementor session) throws HibernateException | |
| processReachableCollection | back to summary |
|---|---|
| public static void processReachableCollection(PersistentCollection collection, CollectionType type, Object entity, SessionImplementor session) throws HibernateException Initialize the role of the collection.
| |
| processUnreachableCollection | back to summary |
|---|---|
| public static void processUnreachableCollection(PersistentCollection coll, SessionImplementor session) throws HibernateException record the fact that this collection was dereferenced
| |