ObjectDB ObjectDB

Internal Website Search

21-30 of 159 resultsRefresh
121

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
121

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
12

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

Apache License, Version 2.0, January 2004

associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event
12

Privacy Policy

offers and general information about other goods, services and events which we offer that are similar
12

Eclipse Distribution License - v 1.0

NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL
12

Chapter 3 - Using JPA

This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD operations: More advanced topics (e.g. locking and events) are discussed in the last section:
1

javax.jdo.listener.InstanceLifecycleEvent

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
1

JDO Internal Callbacks

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

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