public void makeCopy() { copy = dbEntity.getPersistentState(); }
public void makeCopy() { copy = dbEntity.getPersistentState(); }
/** * Allows checking whether this entity is dirty. * @return true if the entity is dirty (state has changed since it was put into the cache) */ public boolean isDirty() { return !dbEntity.getPersistentState().equals(copy); }
/** * Allows checking whether this entity is dirty. * @return true if the entity is dirty (state has changed since it was put into the cache) */ public boolean isDirty() { return !dbEntity.getPersistentState().equals(copy); }
public void makeCopy() { copy = dbEntity.getPersistentState(); }
/** * Allows checking whether this entity is dirty. * @return true if the entity is dirty (state has changed since it was put into the cache) */ public boolean isDirty() { return !dbEntity.getPersistentState().equals(copy); }