Class BaseEnversUpdateEventListener

    • Constructor Detail

      • BaseEnversUpdateEventListener

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

      • isDetachedEntityUpdate

        protected boolean isDetachedEntityUpdate​(java.lang.String entityName,
                                                 java.lang.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.
        entityName - The associated entity name.
        oldState - The event old (likely detached) entity state.
        true if the entity is/has been updated in detached state, otherwise false.