Fast Object Database for Java - with JPA/JDO support

Internal Website Search

1-10 of 78 resultsRefresh
342

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
90

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
90

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
90

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
88

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)
88

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
30

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 ... these properties. ObjectArts objectArts objectArts JPA lifecycle events are not applicable
28

Advanced JPA Topics

Describes advanced JPA topics - detached entity objects, lock management and entity lifecycle events.
28

Working with JPA Entity Objects

Explains the entity object lifecycle and the persistence context.
27

JPA lifecycle events across processes

JPA lifecycle events across processes

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support