About Lifecycle

1-10 of 66Refresh
Manual
242

JPA Lifecycle Events

Callback methods are user defined methods that are attached to entity lifecycle events ... class may include callback methods for any subset or combination of lifecycle events ... that fires the entity lifecycle event (which is still in progress) callback methods should not
JDO Doc
68

Constants.ELEMENT_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String ELEMENT_INSTANCE_LIFECYCLE_LISTENER The name of the instance lifecycle listener element in the JDO configuration file. Since: JDO 2.1
JDO Doc
68

Constants.INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_CLASSES

Static Field javax.jdo.Constants String INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_CLASSES The name of the instance lifecycle listener element's "classes" attribute. Since: JDO 2.1
JDO Doc
68

Constants.INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_LISTENER

Static Field javax.jdo.Constants String INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_LISTENER The name of the instance lifecycle listener element's "listener" attribute. Since: JDO 2.1
JDO Doc
66

Constants.PROPERTY_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String PROPERTY_INSTANCE_LIFECYCLE_LISTENER "javax.jdo.listener.InstanceLifecycleListener" Since: JDO 2.1 See Also: PersistenceManagerFactory.addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener,Class[]) PersistenceManagerFactory.removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener)
JDO Doc
66

Constants.PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER Prefix used to configure javax.jdo.listener.InstanceLifecycleListener instances externally. To configure an InstanceLifecycleListener via properties, create a property name with the prefix of this constant
Forum
22

LifeCycle Event with Embeddable classes

Hello, is there a way that lifecycle events like prepersist or preupdate are also fired for embeddable classes, not just for entities? My case looks as follows: @Entity public class Foo { @Id ... . ObjectArts   JPA lifecycle events are not applicable for embeddable classes. You can set an event
Forum
20

JPA lifecycle events across processes

JPA lifecycle events across processes
Result
16

ObjectDB Object Database Features

other serializable type. Lifecycle Events JPA callback methods and listener classes. JDO callback
JPA Doc
16

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener