3.3.1.5. openjpa.Callbacks
Property name: openjpa.Callbacks
Configuration API: org.apache.openjpa.conf.OpenJPAConfiguration.getCallbackOptionsInstance
Resource adaptor config-property: Callbacks
Default: default
Description: A plugin string (see Plugin Configuration) to fine tune some of the configurable properties related to callbacks. The plug-in supports two boolean properties:
-
PostPersistCallbackImmediate: whether the post-persist callback is invoked as soon as a new instance is managed. The default isfalse, implies that the post-persist callback is invoked after the instance been committed or flushed to the datastore. -
AllowsMultipleMethodsForSameCallback: whether multiple methods of the same class can handle the same callback event. Defaults tofalse.