Support methods for dirty checking
Modifiers | Name | Description |
---|---|---|
static java.util.Map |
DIRTY_CLASS_MARKER |
Used internally as a marker. |
Type Params | Return Type | Name and description |
---|---|---|
|
static boolean |
areAssociationsDirty(Session session, PersistentEntity entity, java.lang.Object instance) Checks whether associations are dirty |
|
static boolean |
areAssociationsDirty(PersistentEntity entity, java.lang.Object instance) Checks whether associations are dirty |
|
static boolean |
areEmbeddedDirty(PersistentEntity entity, java.lang.Object instance) Checks whether embedded associations are dirty |
|
static java.util.Collection |
wrap(java.util.Collection coll, DirtyCheckable parent, java.lang.String property) Wraps a collection in dirty checking capability |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Used internally as a marker. Do not use in user code
Checks whether associations are dirty
session
- The sessionentity
- The entityinstance
- The instanceChecks whether associations are dirty
session
- The sessionentity
- The entityinstance
- The instanceChecks whether embedded associations are dirty
session
- The sessionentity
- The entityinstance
- The instanceWraps a collection in dirty checking capability
coll
- The collectionparent
- The parentproperty
- The property