javax.jdo.listener.DeleteCallback - JDO interface

Interface DeleteCallback

This interface is used to notify instances of delete events.
JDO 2.0
void jdoPreDelete()
Called before the instance is deleted.
Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values after this call are disallowed.

This method is modified by the enhancer so that fields referenced can be used in the business logic of the method.

JDO 2.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.