Package org.hibernate.event.spi
Interface PostUpdateEventListener
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
PostCommitUpdateEventListener
- All Known Implementing Classes:
EnversPostUpdateEventListenerImpl
public interface PostUpdateEventListener extends java.io.Serializable
Called after updating the datastore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
onPostUpdate(PostUpdateEvent event)
boolean
requiresPostCommitHanding(EntityPersister persister)
Deprecated.default boolean
requiresPostCommitHandling(EntityPersister persister)
Does this listener require that after transaction hooks be registered?
-
-
-
Method Detail
-
onPostUpdate
void onPostUpdate(PostUpdateEvent event)
-
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.
-
-