Interface PostCommitDeleteEventListener

    • Method Detail

      • onPostDeleteCommitFailed

        void onPostDeleteCommitFailed​(PostDeleteEvent event)
        Called when a commit fails and an entity was scheduled for deletion
        Parameters:
        event - the delete event to be handled
      • requiresPostCommitHanding

        @Deprecated
        boolean requiresPostCommitHanding​(EntityPersister persister)
        Does this listener require that after transaction hooks be registered?
        Parameters:
        persister - The persister for the entity in question.
        Returns:
        true if after transaction callbacks should be added.
      • requiresPostCommitHandling

        default boolean requiresPostCommitHandling​(EntityPersister persister)
        Does this listener require that after transaction hooks be registered?
        Parameters:
        persister - The persister for the entity in question.
        Returns:
        true if after transaction callbacks should be added.