Home » JDO » Callbacks » StoreCallback » jdoPreStore() - JDO StoreCallback's method

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

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.