| Modifier and Type | Field and Description |
|---|---|
| private transient @Nullable Object | |
| private transient @Nullable CollectionPersister | |
| private transient boolean | |
| private transient boolean | |
| private transient boolean | |
| private boolean | |
| private transient boolean | |
| private @Nullable Object | |
| private transient @Nullable CollectionPersister | |
| private static final CoreMessageLogger | |
| private transient boolean | |
| private transient boolean | |
| private @Nullable String | |
| private @Nullable Serializable |
| Access | Constructor and Description |
|---|---|
| public | CollectionEntry(CollectionPersister persister, PersistentCollection<?> collection)
For newly wrapped collections, or dereferenced collection wrappers |
| public | CollectionEntry(final PersistentCollection<?> collection, final CollectionPersister loadedPersister, final Object loadedKey, final boolean ignore)
For collections just loaded from the database |
| public | CollectionEntry(CollectionPersister loadedPersister, Object loadedKey)
For uninitialized detached collections |
| public | CollectionEntry(PersistentCollection<?> collection, SessionFactoryImplementor factory)
Deprecated
as a consequence of
For initialized detached collections
SessionFactoryImplementor being deprecated.
|
| private | CollectionEntry(@Nullable String role, Serializable snapshot, Object loadedKey, @Nullable SessionFactoryImplementor factory)
Deprecated
as a consequence of
Used from custom serialization.
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv void | afterDeserialize(@Nullable SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public static CollectionEntry | Returns: The deserialized CollectionEntryThe stream from which to read the entry. ois, SessionImplementor The session being deserialized. session)Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance. |
| private void | dirty(PersistentCollection<?> collection)
Determine if the collection is "really" dirty, by checking dirtiness of the collection elements, if necessary |
| public @Nullable Object | |
| public @Nullable CollectionPersister | |
| public @Nullable Object | |
| public @Nullable Object | |
| public @Nullable CollectionPersister | |
| public Collection | getOrphans(String entityName, PersistentCollection<?> collection)
Get the collection orphans (entities which were removed from the collection) |
| public @Nullable String | |
| public @Nullable Serializable | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | resetStoredSnapshot(PersistentCollection<?>
the persistentcollection to be updated collection, Serializable the new stored snapshot storedSnapshot)Reset the stored snapshot for both the persistent collection and this collection entry. |
| public void | serialize(ObjectOutputStream
The stream to which we should write the serial data. oos)Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public boolean |
| currentKey | back to summary |
|---|---|
| private transient @Nullable Object currentKey | |
| currentPersister | back to summary |
|---|---|
| private transient @Nullable CollectionPersister currentPersister | |
| dorecreate | back to summary |
|---|---|
| private transient boolean dorecreate | |
| doremove | back to summary |
|---|---|
| private transient boolean doremove | |
| doupdate | back to summary |
|---|---|
| private transient boolean doupdate | |
| fromMerge | back to summary |
|---|---|
| private boolean fromMerge | |
| ignore | back to summary |
|---|---|
| private transient boolean ignore | |
| loadedKey | back to summary |
|---|---|
| private @Nullable Object loadedKey | |
| loadedPersister | back to summary |
|---|---|
| private transient @Nullable CollectionPersister loadedPersister | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| processed | back to summary |
|---|---|
| private transient boolean processed | |
| reached | back to summary |
|---|---|
| private transient boolean reached | |
| role | back to summary |
|---|---|
| private @Nullable String role | |
| snapshot | back to summary |
|---|---|
| private @Nullable Serializable snapshot | |
| CollectionEntry | back to summary |
|---|---|
| public CollectionEntry(CollectionPersister persister, PersistentCollection<?> collection) For newly wrapped collections, or dereferenced collection wrappers | |
| CollectionEntry | back to summary |
|---|---|
| public CollectionEntry(final PersistentCollection<?> collection, final CollectionPersister loadedPersister, final Object loadedKey, final boolean ignore) For collections just loaded from the database | |
| CollectionEntry | back to summary |
|---|---|
| public CollectionEntry(CollectionPersister loadedPersister, Object loadedKey) For uninitialized detached collections | |
| CollectionEntry | back to summary |
|---|---|
| public CollectionEntry(PersistentCollection<?> collection, SessionFactoryImplementor factory)
Deprecated as a consequence of For initialized detached collections | |
| CollectionEntry | back to summary |
|---|---|
| private CollectionEntry(@Nullable String role, Serializable snapshot, Object loadedKey, @Nullable SessionFactoryImplementor factory)
Deprecated as a consequence of Used from custom serialization.
| |
| afterAction | back to summary |
|---|---|
| public void afterAction(PersistentCollection<?> collection) Called after execution of an action | |
| afterDeserialize | back to summary |
|---|---|
| pack-priv void afterDeserialize(@Nullable SessionFactoryImplementor factory)
Deprecated as a consequence of | |
| deserialize | back to summary |
|---|---|
| public static CollectionEntry deserialize(ObjectInputStream ois, SessionImplementor session) throws IOException, ClassNotFoundException Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.
| |
| dirty | back to summary |
|---|---|
| private void dirty(PersistentCollection<?> collection) throws HibernateException Determine if the collection is "really" dirty, by checking dirtiness of the collection elements, if necessary | |
| getCurrentKey | back to summary |
|---|---|
| public @Nullable Object getCurrentKey() This is only available late during the flush cycle | |
| getCurrentPersister | back to summary |
|---|---|
| public @Nullable CollectionPersister getCurrentPersister() | |
| getKey | back to summary |
|---|---|
| public @Nullable Object getKey() | |
| getLoadedKey | back to summary |
|---|---|
| public @Nullable Object getLoadedKey() | |
| getLoadedPersister | back to summary |
|---|---|
| public @Nullable CollectionPersister getLoadedPersister() This is only available late during the flush cycle | |
| getOrphans | back to summary |
|---|---|
| public Collection Get the collection orphans (entities which were removed from the collection) | |
| getRole | back to summary |
|---|---|
| public @Nullable String getRole() | |
| getSnapshot | back to summary |
|---|---|
| public @Nullable Serializable getSnapshot() | |
| isDorecreate | back to summary |
|---|---|
| public boolean isDorecreate() | |
| isDoremove | back to summary |
|---|---|
| public boolean isDoremove() | |
| isDoupdate | back to summary |
|---|---|
| public boolean isDoupdate() | |
| isIgnore | back to summary |
|---|---|
| public boolean isIgnore() | |
| isProcessed | back to summary |
|---|---|
| public boolean isProcessed() | |
| isReached | back to summary |
|---|---|
| public boolean isReached() | |
| isSnapshotEmpty | back to summary |
|---|---|
| public boolean isSnapshotEmpty(PersistentCollection<?> collection) | |
| postFlush | back to summary |
|---|---|
| public void postFlush(PersistentCollection<?> collection) throws HibernateException Called after a successful flush | |
| postInitialize | back to summary |
|---|---|
| public void postInitialize(PersistentCollection<?> collection) throws HibernateException | |
| preFlush | back to summary |
|---|---|
| public void preFlush(PersistentCollection<?> collection) throws HibernateException | |
| resetStoredSnapshot | back to summary |
|---|---|
| public void resetStoredSnapshot(PersistentCollection<?> collection, Serializable storedSnapshot) Reset the stored snapshot for both the persistent collection and this collection entry. Used during the merge of detached collections.
| |
| serialize | back to summary |
|---|---|
| public void serialize(ObjectOutputStream oos) throws IOException Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance.
| |
| setCurrentKey | back to summary |
|---|---|
| public void setCurrentKey(@Nullable Object currentKey) | |
| setCurrentPersister | back to summary |
|---|---|
| public void setCurrentPersister(@Nullable CollectionPersister currentPersister) | |
| setDorecreate | back to summary |
|---|---|
| public void setDorecreate(boolean dorecreate) | |
| setDoremove | back to summary |
|---|---|
| public void setDoremove(boolean doremove) | |
| setDoupdate | back to summary |
|---|---|
| public void setDoupdate(boolean doupdate) | |
| setLoadedPersister | back to summary |
|---|---|
| private void setLoadedPersister(@Nullable CollectionPersister persister) | |
| setProcessed | back to summary |
|---|---|
| public void setProcessed(boolean processed) | |
| setReached | back to summary |
|---|---|
| public void setReached(boolean reached) | |
| setRole | back to summary |
|---|---|
| public void setRole(@Nullable String role) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| wasDereferenced | back to summary |
|---|---|
| public boolean wasDereferenced() | |