ObjectDB ObjectDB

javax.jdo.listener.DetachCallback - JDO interface

javax.jdo.listener
Interface DetachCallback

This interface is used to notify instances of detach events.
Since:
JDO 2.0
void jdoPostDetach(Object detached)
This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy is made.
This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy is made.
Parameters:
detached - The corresponding (attached) persistent instance.
Since:
JDO 2.0
void jdoPreDetach()
This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the persistent instance before the copy is made.
This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the persistent instance before the copy is made.
Since:
JDO 2.0