Class BaseEnversUpdateEventListener

    • Constructor Detail

      • BaseEnversUpdateEventListener

        public BaseEnversUpdateEventListener​(org.hibernate.envers.boot.internal.EnversService enversService)
    • Method Detail

      • isDetachedEntityUpdate

        protected boolean isDetachedEntityUpdate​(String entityName,
                                                 Object[] oldState)
        Returns whether the entity has withModifiedFlag features and has no old state, most likely implying it was updated in a detached entity state.
        Parameters:
        entityName - The associated entity name.
        oldState - The event old (likely detached) entity state.
        Returns:
        true if the entity is/has been updated in detached state, otherwise false.