About lifecycle

11-20 of 66Refresh
JPA Doc
16

JPA 2 Annotations

JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: Annotations for fields in JPA persistable classes: Annotations for additional JPA configuration: Annotations for JPA lifecycle event callbacks: Java EE container annotations: Many
JDO Doc
16

JDO External Listeners

The following types can be used to implement external listener classes for JDO lifecycle events: Listener objects can be bound to one or more persistence capable classes by invoking the addInstanceLifecycleListner method either at the PersistenceManagerFactory level or the PersistenceManager level.
JPA Doc
16

JPA Annotations for Callback Methods

The following annotations can mark methods as JPA callback methods: The Lifecycle Events section of the ObjectDB Manual explains how to use all these annotations on callback methods and with listener classes.
JDO Doc
16

JDO Internal Callbacks

The following interfaces can be implemented by persistence capable classes in order to response to JDO lifecycle events:
JDO Doc
16

javax.jdo.Constants

, which is the empty string. Since: JDO 2.1 String ELEMENT_INSTANCE_LIFECYCLE_LISTENER The name of the instance lifecycle listener element in the JDO configuration file. The name of the instance lifecycle ... elements in the JDO configuration file. Since: JDO 2.1 String INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE
JDO Doc
12

javax.jdo.PersistenceManager

to the list of lifecycle event listeners. Adds the listener instance to the list of lifecycle event listeners ... listenerInstance interface. Parameters: listener - the lifecycle listener classes - the classes ... lifecycle event listener. Any references to the detached instances from instances in the closure
JDO Doc
11

javax.jdo.PersistenceManagerFactory

 listener, Class[] classes) Add the parameter listener to the list of instance lifecycle event ... . Add the parameter listener to the list of instance lifecycle event listeners set as the initial ... the corresponding InstanceLifecycleListener interface. Parameters: listener - the lifecycle listener classes
Forum
7

BeanCreationException in spring data JPA with objectDB

(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven
JDO Doc
7

addInstanceLifecycleListener(listener, classes)

Method javax.jdo.PersistenceManager void addInstanceLifecycleListener(   InstanceLifecycleListener listener,   Class... classes ) Adds the listener instance to the list of lifecycle event listeners ... listenerInstance interface. Parameters: listener - the lifecycle listener classes - the classes of interest to the listener Since: JDO 2.0
JDO Doc
7

addInstanceLifecycleListener(listener, classes)

Method javax.jdo.PersistenceManagerFactory void addInstanceLifecycleListener(   InstanceLifecycleListener listener,   Class[] classes ) Add the parameter listener to the list of instance lifecycle ... - the lifecycle listener classes - the classes of interest to the listener Since: JDO 2.0