ObjectDB ObjectDB

jdoPreStore() - JDO StoreCallback's method

Method
javax.jdo.listener.StoreCallback
void jdoPreStore()

Called before the values are stored from this instance to the data store.

Data store fields that might have been affected by modified non-persistent fields should be updated in this method.

This method is modified by the enhancer so that changes to persistent fields will be reflected in the data store. The context in which this call is made allows access to the PersistenceManager and other persistent JDO instances.

Since:
JDO 2.0