Package org.hibernate.event.spi
Interface PostCommitInsertEventListener
-
- All Superinterfaces:
PostInsertEventListener,java.io.Serializable
public interface PostCommitInsertEventListener extends PostInsertEventListener
Called after an entity insert is committed to the datastore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidonPostInsertCommitFailed(PostInsertEvent event)Called when a commit fails and an entity was scheduled for insertionbooleanrequiresPostCommitHanding(EntityPersister persister)Deprecated.default booleanrequiresPostCommitHandling(EntityPersister persister)Does this listener require that after transaction hooks be registered?-
Methods inherited from interface org.hibernate.event.spi.PostInsertEventListener
onPostInsert
-
-
-
-
Method Detail
-
onPostInsertCommitFailed
void onPostInsertCommitFailed(PostInsertEvent event)
Called when a commit fails and an entity was scheduled for insertion- Parameters:
event- the insert event to be handled
-
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:
trueif 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:
trueif after transaction callbacks should be added.
-
-