ObjectDB ObjectDB

Internal Website Search

1-10 of 63 resultsRefresh
350

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

ValidationMode.CALLBACK

Enum Constant javax.persistence.ValidationMode CALLBACK The persistence provider must perform the lifecycle event validation. It is an error if there is no Bean Validation provider present in the environment. Since: JPA 2.0
84

JPA Lifecycle Events

Callback methods are user defined methods that are attached to entity lifecycle events and are invoked automatically by JPA when these events occur. Internal Callback Methods Internal callback ... defines all the supported callback methods with empty implementations: @Entity public static class
32

JDO Internal Callbacks

All about JDO Internal Callbacks in Java/JPA database - explanations, examples, references, links and related information.
24

ObjectDB Object Database Features

arrays. Any other serializable type. Lifecycle Events JPA callback methods and listener classes. JDO callback methods and listener classes. Primary Keys Support of primary keys in ObjectDB is unique
17

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
10

javax.persistence.PreUpdate

javax.persistence Annotation PreUpdate Target: Callback methods Is used to specify callback methods ... , a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA callback methods in Chapter 3 of the ObjectDB/JPA manual. This annotation is a marker annotation (with no elements).
1

javax.jdo.InstanceCallbacks

, StoreCallback A PersistenceCapable class that provides callback methods for life cycle events ... over callbacks, for example to allow a class to implement the load callback without implementing any of the other callbacks. For backward compatibility with JDO 1.0, the InstanceCallbacks interface is preserved
1

javax.jdo.JDOEntityManager

the jdoPostAttach callback or the postAttach lifecycle event listener. Any references ... instances, the attach callbacks and attach life cycle listeners are called. During application
1

javax.jdo.spi.PersistenceCapable

. Parameters: fieldNumber - the field whose value is to be provided by a callback to the StateManager's ... are to be provided by multiple callbacks to the StateManager's providedXXXField method Since: JDO 1.0 ... : fieldNumber - the field whose value is to be replaced by a callback to the StateManager's

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