Package org.hibernate.event.spi
Interface PostInsertEventListener
-
- All Known Subinterfaces:
PostCommitInsertEventListener
public interface PostInsertEventListenerCalled after inserting an item in the datastore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonPostInsert(PostInsertEvent event)booleanrequiresPostCommitHandling(EntityPersister persister)Does this listener require that after transaction hooks be registered?
-
-
-
Method Detail
-
onPostInsert
void onPostInsert(PostInsertEvent event)
-
requiresPostCommitHandling
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.
-
-