CustomEntityDirtinessStrategy which does nada.
| Modifier and Type | Field and Description |
|---|---|
| public static final DefaultCustomEntityDirtinessStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canDirtyCheck(Object
The entity to be checked entity, EntityPersister The persister corresponding to the given entity persister, Session The session from which this check originates. session)Implements org. |
| public void | findDirty(Object
The entity being checked entity, EntityPersister The persister corresponding to the given entity persister, Session The session from which this call originates. session, CustomEntityDirtinessStrategy.The callback context dirtyCheckContextImplements org. |
| public boolean | isDirty(Object
The entity to check. entity, EntityPersister The persister corresponding to the given entity persister, Session The session from which this check originates. session)Implements org. |
| public void | resetDirty(Object
The entity to reset entity, EntityPersister The persister corresponding to the given entity persister, Session The session from which this call originates. session)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final DefaultCustomEntityDirtinessStrategy INSTANCE | |
| DefaultCustomEntityDirtinessStrategy | back to summary |
|---|---|
| public DefaultCustomEntityDirtinessStrategy() | |
| canDirtyCheck | back to summary |
|---|---|
| public boolean canDirtyCheck(Object entity, EntityPersister persister, Session session) Implements org. Doc from org. Is this strategy capable of telling whether the given entity is dirty? A return of
| |
| findDirty | back to summary |
|---|---|
| public void findDirty(Object entity, EntityPersister persister, Session session, CustomEntityDirtinessStrategy. Implements org. Doc from org. Callback used to hook into Hibernate algorithm for determination of which attributes have changed. Applications
wanting to hook in to this would call back into the given
| |
| isDirty | back to summary |
|---|---|
| public boolean isDirty(Object entity, EntityPersister persister, Session session) Implements org. Doc from org. The callback used by Hibernate to determine if the given entity is dirty. Only called if the previous
| |
| resetDirty | back to summary |
|---|---|
| public void resetDirty(Object entity, EntityPersister persister, Session session) Implements org. Doc from org. Callback used by Hibernate to signal that the entity dirty flag should be cleared. Generally this happens after previous dirty changes were written to the database.
| |