We need an entry to tell us all about the current state
of an object with respect to its persistent state
forceLocked
public void forceLocked(Object entity,
Object nextVersion)
getDeletedState
public Object[] getDeletedState()
getEntityName
public String getEntityName()
getId
public Serializable getId()
getLoadedState
public Object[] getLoadedState()
getLoadedValue
public Object getLoadedValue(String propertyName)
getLockMode
public LockMode getLockMode()
getRowId
public Object getRowId()
getStatus
public Status getStatus()
getVersion
public Object getVersion()
isBeingReplicated
public boolean isBeingReplicated()
isExistsInDatabase
public boolean isExistsInDatabase()
isLoadedWithLazyPropertiesUnfetched
public boolean isLoadedWithLazyPropertiesUnfetched()
isNullifiable
public boolean isNullifiable(boolean earlyInsert,
SessionImplementor session)
postDelete
public void postDelete()
After actually deleting a row, record the fact that the instance no longer
exists in the database
postInsert
public void postInsert()
After actually inserting a row, record the fact that the instance exists on the
database (needed for identity-column key generation)
postUpdate
public void postUpdate(Object entity,
Object[] updatedState,
Object nextVersion)
After actually updating the database, update the snapshot information,
and escalate the lock mode
requiresDirtyCheck
public boolean requiresDirtyCheck(Object entity)
setDeletedState
public void setDeletedState(Object[] deletedState)
setLockMode
public void setLockMode(LockMode lockMode)
setReadOnly
public void setReadOnly(boolean readOnly,
Object entity)
setStatus
public void setStatus(Status status)
toString
public String toString()