ObjectDB ObjectDB

jdoPreDelete() - JDO DeleteCallback's method

Method
javax.jdo.listener.DeleteCallback
void jdoPreDelete()

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.

Since:
JDO 2.0