public interface PostCommitInsertEventListener extends PostInsertEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onPostInsertCommitFailed(PostInsertEvent event)
Called when a commit fails and an entity was scheduled for insertion
|
boolean |
requiresPostCommitHanding(EntityPersister persister)
Deprecated.
|
default boolean |
requiresPostCommitHandling(EntityPersister persister)
Does this listener require that after transaction hooks be registered?
|
onPostInsertvoid onPostInsertCommitFailed(PostInsertEvent event)
event - the insert 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-2021 Red Hat, Inc. All Rights Reserved.