Class CancelledInsertPostDeleteHandling
java.lang.Object
org.hibernate.action.queue.spi.decompose.entity.CancelledInsertPostDeleteHandling
- All Implemented Interfaces:
PostExecutionCallback
@Incubating(since="8.0",
group="action-queue")
public class CancelledInsertPostDeleteHandling
extends Object
implements PostExecutionCallback
Post-execution callback that performs only the essential persistence context cleanup after a delete action is processed.
This is the base handling used when the entity was never actually
written to the database — for example, when a persist() and
remove() cancel each other out in the same flush cycle.
The full PostDeleteHandling builds on top of this to add cache eviction,
natural ID cleanup, event firing, and statistics.
- Since:
- 8.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.hibernate.action.internal.EntityDeleteAction -
Constructor Summary
ConstructorsConstructorDescriptionCancelledInsertPostDeleteHandling(org.hibernate.action.internal.EntityDeleteAction action) -
Method Summary
-
Field Details
-
action
protected final org.hibernate.action.internal.EntityDeleteAction action
-
-
Constructor Details
-
CancelledInsertPostDeleteHandling
public CancelledInsertPostDeleteHandling(org.hibernate.action.internal.EntityDeleteAction action)
-
-
Method Details
-
handle
Description copied from interface:PostExecutionCallbackThe callback.- Specified by:
handlein interfacePostExecutionCallback
-