About callback

31-40 of 63Refresh
JDO Doc
6

jdoProvideField(fieldNumber)

Method javax.jdo.spi.PersistenceCapable void jdoProvideField(   int fieldNumber ) The owning StateManager uses this method to ask the instance to provide the value of the single field identified by fieldNumber. Parameters: fieldNumber - the field whose value is to be provided by a callback to the StateManager's providedXXXField method Since: JDO 1.0
JDO Doc
6

jdoProvideFields(fieldNumbers)

multiple callbacks to the StateManager's providedXXXField method Since: JDO 1.0
JDO Doc
6

jdoReplaceField(fieldNumber)

Method javax.jdo.spi.PersistenceCapable void jdoReplaceField(   int fieldNumber ) The owning StateManager uses this method to ask the instance to replace the value of the single field identified by number. Parameters: fieldNumber - the field whose value is to be replaced by a callback to the StateManager's replacingXXXField method Since: JDO 1.0
JDO Doc
6

jdoReplaceFields(fieldNumbers)

callbacks to the StateManager's replacingXXXField method Since: JDO 1.0
JDO Doc
6

preDelete(event)

the instance callback DeleteCallback.jdoPreDelete. Parameters: event - the delete event. Since: JDO 2.0
JPA Doc
6

javax.persistence.ValidationMode

place. This is the default behavior. Since: JPA 2.0 ValidationMode CALLBACK The persistence provider
JDO Doc
6

javax.jdo.JDOUserCallbackException

This class represents exceptions caused by exceptions thrown during execution of callbacks or listeners
JDO Doc
6

javax.jdo.listener.DeleteLifecycleListener

before the instance callback DeleteCallback.jdoPreDelete. Parameters: event - the delete event. Since: JDO 2.0
Issue
4

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

: DTX5014: Caught exception in beforeCompletion() callback: [ObjectDB 2.6.9_06] javax.persistence ... : DTX5015: Caught exception in afterCompletion() callback: [ObjectDB 2.6.9_06] javax.persistence ... : DTX5015: Caught exception in afterCompletion() callback: [ObjectDB 2.6.9_06] javax.persistence
Forum
4

Best practice: Database update/migration of embedded databases in products

, and use a JPA event callback to make the conversion. In V1.1 your class will include the following ... a PostLoad callback (if not null) to name. Only name will be used by the application (except in the conversion callback method). Similarly, in v2.0, your class will include the following fields: firstName