Package org.hibernate.engine.internal
Class MutableEntityEntry
- java.lang.Object
-
- org.hibernate.engine.internal.AbstractEntityEntry
-
- org.hibernate.engine.internal.MutableEntityEntry
-
- All Implemented Interfaces:
Serializable
,EntityEntry
public final class MutableEntityEntry extends AbstractEntityEntry
AnEntityEntry
implementation for mutable entities.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.engine.internal.AbstractEntityEntry
AbstractEntityEntry.BooleanState, AbstractEntityEntry.EnumState<E extends Enum<E>>
-
-
Field Summary
-
Fields inherited from class org.hibernate.engine.internal.AbstractEntityEntry
cachedEntityKey, id, loadedState, maybeLazySet, next, persistenceContext, persister, rowId, version
-
-
Constructor Summary
Constructors Constructor Description MutableEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntityEntry
deserialize(ObjectInputStream ois, PersistenceContext persistenceContext)
Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.-
Methods inherited from class org.hibernate.engine.internal.AbstractEntityEntry
addExtraState, forceLocked, getCompressedValue, getCompressedValue, getDeletedState, getEntityKey, getEntityName, getExtraState, getId, getLoadedState, getLoadedValue, getLockMode, getMaybeLazySet, getPersistenceContext, getPersister, getRowId, getStatus, getVersion, isBeingReplicated, isExistsInDatabase, isModifiableEntity, isNullifiable, isReadOnly, overwriteLoadedStateCollectionValue, postDelete, postInsert, postInsert, postUpdate, requiresDirtyCheck, serialize, setCompressedValue, setCompressedValue, setDeletedState, setLockMode, setMaybeLazySet, setReadOnly, setStatus, toString
-
-
-
-
Constructor Detail
-
MutableEntityEntry
public MutableEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
-
-
Method Detail
-
deserialize
public static EntityEntry deserialize(ObjectInputStream ois, PersistenceContext persistenceContext) throws IOException, ClassNotFoundException
Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.- Parameters:
ois
- The stream from which to read the entry.persistenceContext
- The context being deserialized.- Returns:
- The deserialized EntityEntry
- Throws:
IOException
- If a stream error occursClassNotFoundException
- If any of the classes declared in the stream cannot be found
-
-