Package org.hibernate.event.spi
Interface PostCommitUpdateEventListener
-
- All Superinterfaces:
PostUpdateEventListener
,java.io.Serializable
public interface PostCommitUpdateEventListener extends PostUpdateEventListener
Called after an entity update is committed to the datastore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
onPostUpdateCommitFailed(PostUpdateEvent event)
Called when a commit fails and an an entity was scheduled for updateboolean
requiresPostCommitHanding(EntityPersister persister)
Deprecated.default boolean
requiresPostCommitHandling(EntityPersister persister)
Does this listener require that after transaction hooks be registered?-
Methods inherited from interface org.hibernate.event.spi.PostUpdateEventListener
onPostUpdate
-
-
-
-
Method Detail
-
onPostUpdateCommitFailed
void onPostUpdateCommitFailed(PostUpdateEvent event)
Called when a commit fails and an an entity was scheduled for update- Parameters:
event
- the update event to be handled
-
requiresPostCommitHanding
@Deprecated boolean requiresPostCommitHanding(EntityPersister persister)
Deprecated.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.
-
-