public final class MutableEntityEntry extends AbstractEntityEntry
AbstractEntityEntry.BooleanState, AbstractEntityEntry.EnumState<E extends Enum<E>>
cachedEntityKey, id, loadedState, next, persistenceContext, persister, rowId, version
Constructor and Description |
---|
MutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
MutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
Modifier and Type | Method and Description |
---|---|
static EntityEntry |
deserialize(ObjectInputStream ois,
PersistenceContext persistenceContext)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
addExtraState, forceLocked, getCompressedValue, getCompressedValue, getDeletedState, getEntityKey, getEntityName, getExtraState, getId, getLoadedState, getLoadedValue, getLockMode, getPersistenceContext, getPersister, getRowId, getStatus, getVersion, isBeingReplicated, isExistsInDatabase, isModifiableEntity, isNullifiable, isReadOnly, overwriteLoadedStateCollectionValue, postDelete, postInsert, postUpdate, requiresDirtyCheck, serialize, setCompressedValue, setCompressedValue, setDeletedState, setLockMode, setReadOnly, setStatus, toString
@Deprecated public MutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, EntityMode entityMode, String tenantId, boolean disableVersionIncrement, PersistenceContext persistenceContext)
public MutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
public static EntityEntry deserialize(ObjectInputStream ois, PersistenceContext persistenceContext) throws IOException, ClassNotFoundException
ois
- The stream from which to read the entry.persistenceContext
- The context being deserialized.IOException
- If a stream error occursClassNotFoundException
- If any of the classes declared in the stream
cannot be foundCopyright © 2017 JBoss by Red Hat. All rights reserved.