Class PostDeleteHandling

java.lang.Object
org.hibernate.action.queue.spi.decompose.entity.PostDeleteHandling
All Implemented Interfaces:
PostExecutionCallback

@Incubating public class PostDeleteHandling extends Object implements PostExecutionCallback

Post-execution callback for entity delete actions.

This handles all the finalization work that needs to happen after all table DELETEs (or soft-delete UPDATEs) for the entity have been executed, including:

- Removing entity entry from persistence context
- Updating EntityEntry state (postDelete)
- Removing entity holder from persistence context
- Removing item from cache
- Natural ID resolution cleanup
- Firing POST_DELETE event listeners
- Updating statistics
Since:
8.0
See Also:
  • EntityDeleteAction