public interface PostCommitUpdateEventListener extends PostUpdateEventListener
Modifier and Type | Method and Description |
---|---|
void |
onPostUpdateCommitFailed(PostUpdateEvent event)
Called when a commit fails and an an entity was scheduled for update
|
boolean |
requiresPostCommitHanding(EntityPersister persister)
Deprecated.
|
default boolean |
requiresPostCommitHandling(EntityPersister persister)
Does this listener require that after transaction hooks be registered?
|
onPostUpdate
void onPostUpdateCommitFailed(PostUpdateEvent event)
event
- the update event to be handled@Deprecated boolean requiresPostCommitHanding(EntityPersister persister)
requiresPostCommitHandling(EntityPersister)
persister
- The persister for the entity in question.true
if after transaction callbacks should be added.default boolean requiresPostCommitHandling(EntityPersister persister)
persister
- The persister for the entity in question.true
if after transaction callbacks should be added.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.