Interface StoreCallback

All Known Subinterfaces:
InstanceCallbacks

public interface StoreCallback
This interface is used to notify instances of store events.
Since:
2.0
Version:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called before the values are stored from this instance to the data store.
  • Method Details

    • jdoPreStore

      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.