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.
A callback to drive dirty checking. Handed to the
CustomEntityDirtinessStrategy.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
Modifier and TypeMethodDescriptionvoid
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 Details
-
doDirtyChecking
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.
-