Package org.hibernate.event.spi
Interface PostCommitDeleteEventListener
-
- All Superinterfaces:
PostDeleteEventListener
,java.io.Serializable
public interface PostCommitDeleteEventListener extends PostDeleteEventListener
Called after an entity delete is committed to the datastore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
onPostDeleteCommitFailed(PostDeleteEvent event)
Called when a commit fails and an an entity was scheduled for deletionboolean
requiresPostCommitHanding(EntityPersister persister)
Deprecated.default boolean
requiresPostCommitHandling(EntityPersister persister)
Does this listener require that after transaction hooks be registered?-
Methods inherited from interface org.hibernate.event.spi.PostDeleteEventListener
onPostDelete
-
-
-
-
Method Detail
-
onPostDeleteCommitFailed
void onPostDeleteCommitFailed(PostDeleteEvent event)
Called when a commit fails and an an entity was scheduled for deletion- Parameters:
event
- the delete 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:
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.
-
-