Fast Object Database for Java - with JPA/JDO support

Internal Website Search

21-30 of 159 resultsRefresh

JPA lifecycle events across processes

supported. You may be able to implement your own cross process event listeners based on the JPA event listeners if every process will listen to its own events and will report to other processes. support Support

LifeCycle Event with Embeddable classes

Hello, is there a way that lifecycle events like prepersist or preupdate are also fired ... these properties. ObjectArts objectArts objectArts JPA lifecycle events are not applicable for embeddable classes. You can set an event callback for the containing entity and use it to handle embedded objects in the entity object. support Support

[ODB1] Chapter 3 - Persistent Classes

InstanceCallbacks The javax.jdo.InstanceCallbacks interface represents events in a persistent object's lifecycle. By implementing the InstanceCallbacks interface, a persistent class can handle these events ... ). This event is rarely used. Other persistent objects and even persistent fields in this loaded object


javax.jdo.listener.InstanceLifecycleEvent Implemented Interfaces: Serializable This is the event class used in life cycle event notifications. Note that although InstanceLifecycleEvent inherits ... (Object source, int type) Creates a new event object with the specified source and type. Creates

ObjectDB Website - Terms and Conditions of Use

. 4. Limitations In no event shall ObjectDB Software, ObjectDB authors, ObjectDB Software

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

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.

ObjectDB Object Database Features

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

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

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