Interface AfterCommitListener

All Superinterfaces:
org.hibernate.event.spi.PostCommitDeleteEventListener, org.hibernate.event.spi.PostCommitInsertEventListener, org.hibernate.event.spi.PostCommitUpdateEventListener, org.hibernate.event.spi.PostDeleteEventListener, org.hibernate.event.spi.PostInsertEventListener, org.hibernate.event.spi.PostUpdateEventListener, Serializable
All Known Implementing Classes:
AfterCommitListenerImpl

public interface AfterCommitListener extends org.hibernate.event.spi.PostCommitInsertEventListener, org.hibernate.event.spi.PostCommitUpdateEventListener, org.hibernate.event.spi.PostCommitDeleteEventListener
Interface required to combine PostCommitInsertEventListener, PostCommitUpdateEventListener and PostCommitDeleteEventListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Register an EntityListener.entityDeleted(EntityEvent) for the given entities.
    void
    Register an EntityListener.entityUpdated(EntityEvent) for the given entities.
    boolean
    requiresPostCommitHanding(org.hibernate.persister.entity.EntityPersister arg0)
    Deprecated.
    default boolean
    requiresPostCommitHandling(org.hibernate.persister.entity.EntityPersister arg0)
     

    Methods inherited from interface org.hibernate.event.spi.PostCommitDeleteEventListener

    onPostDeleteCommitFailed

    Methods inherited from interface org.hibernate.event.spi.PostCommitInsertEventListener

    onPostInsertCommitFailed

    Methods inherited from interface org.hibernate.event.spi.PostCommitUpdateEventListener

    onPostUpdateCommitFailed

    Methods inherited from interface org.hibernate.event.spi.PostDeleteEventListener

    onPostDelete

    Methods inherited from interface org.hibernate.event.spi.PostInsertEventListener

    onPostInsert

    Methods inherited from interface org.hibernate.event.spi.PostUpdateEventListener

    onPostUpdate
  • Method Details

    • registerEntityUpdatedEvent

      void registerEntityUpdatedEvent(List<Entity> entities)
      Register an EntityListener.entityUpdated(EntityEvent) for the given entities. The event will not be fired immediately but only after the transaction was committed successfully.
    • registerEntityDeletedEvent

      void registerEntityDeletedEvent(List<Entity> entities)
      Register an EntityListener.entityDeleted(EntityEvent) for the given entities. The event will not be fired immediately but only after the transaction was committed successfully.
    • requiresPostCommitHanding

      @Deprecated boolean requiresPostCommitHanding(org.hibernate.persister.entity.EntityPersister arg0)
      Deprecated.
    • requiresPostCommitHandling

      default boolean requiresPostCommitHandling(org.hibernate.persister.entity.EntityPersister arg0)