Package org.hibernate.event.spi
Interface PostCommitUpdateEventListener
- All Superinterfaces:
PostUpdateEventListener
Called after an entity update is committed to the datastore.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when a commit fails and an entity was scheduled for updatedefault 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 Details
-
onPostUpdateCommitFailed
Called when a commit fails and an entity was scheduled for update- Parameters:
event
- the update event to be handled
-
requiresPostCommitHandling
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.
-