接口 PostCommitInsertEventListener

    • 方法详细资料

      • onPostInsertCommitFailed

        void onPostInsertCommitFailed​(PostInsertEvent event)
        Called when a commit fails and an entity was scheduled for insertion
        参数:
        event - the insert event to be handled
      • requiresPostCommitHanding

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

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