Package org.hibernate.event.spi
Interface PostCommitUpdateEventListener
-
- All Superinterfaces:
PostUpdateEventListener
public interface PostCommitUpdateEventListener extends PostUpdateEventListener
Called after an entity update is committed to the datastore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonPostUpdateCommitFailed(PostUpdateEvent event)Called when a commit fails and an entity was scheduled for updatebooleanrequiresPostCommitHandling(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 entity was scheduled for update- Parameters:
event- the update event to be handled
-
requiresPostCommitHandling
boolean requiresPostCommitHandling(EntityPersister persister)
Does this listener require that after transaction hooks be registered?- Parameters:
persister- The persister for the entity in question.- Returns:
trueif after transaction callbacks should be added.
-
-