Package org.hibernate
Interface CustomEntityDirtinessStrategy.DirtyCheckContext
-
- Enclosing interface:
- CustomEntityDirtinessStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface CustomEntityDirtinessStrategy.DirtyCheckContext
A callback to drive dirty checking. Handed to theCustomEntityDirtinessStrategy.findDirty(java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.Session, org.hibernate.CustomEntityDirtinessStrategy.DirtyCheckContext)
method so that it can call back in to it if it wants to handle dirty checking rather than using Hibernate's default checking.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doDirtyChecking(CustomEntityDirtinessStrategy.AttributeChecker attributeChecker)
The callback to indicate that dirty checking (the dirty attribute determination phase) should be handled by the callingCustomEntityDirtinessStrategy
using the givenCustomEntityDirtinessStrategy.AttributeChecker
.
-
-
-
Method Detail
-
doDirtyChecking
void doDirtyChecking(CustomEntityDirtinessStrategy.AttributeChecker attributeChecker)
The callback to indicate that dirty checking (the dirty attribute determination phase) should be handled by the callingCustomEntityDirtinessStrategy
using the givenCustomEntityDirtinessStrategy.AttributeChecker
.- Parameters:
attributeChecker
- The delegate usable by the context for determining which attributes are dirty.
-
-