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