Fast Object Database for Java - with JPA/JDO support

Internal Website Search

11-20 of 78 resultsRefresh
15

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
15

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.
15

ObjectDB Object Database Features

. Lifecycle Events JPA callback methods and listener classes. JDO callback methods and listener
15

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
15

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.
15

JDO Internal Callbacks

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

[ODB1] Chapter 3 - Persistent Classes

lifecycle. By implementing the InstanceCallbacks interface, a persistent class can handle these events
15

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
11

javax.jdo.JDOEntityManager

the listener instance to the list of lifecycle event listeners. Adds the listener instance to the list of lifecycle event listeners. The classes parameter identifies all of the classes ... the corresponding listenerInstance interface. Parameters: listener - the lifecycle listener classes
11

javax.jdo.PersistenceManager

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 ... needs to be copied, the application should use the jdoPostAttach callback or the postAttach lifecycle

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