Package org.hibernate

Interface CustomEntityDirtinessStrategy.AttributeChecker

  • 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.AttributeChecker
    Responsible for identifying when attributes are dirty.
    • Method Detail

      • isDirty

        boolean isDirty​(CustomEntityDirtinessStrategy.AttributeInformation attributeInformation)
        Do the attribute dirty check.
        Parameters:
        attributeInformation - Information about the attribute which is useful to help determine if it is dirty.
        Returns:
        true indicates the attribute value has changed; false indicates it has not.