About mapping

manual

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys. Every entity object that is stored in the database has a primary key. Once assigned, the primary key cannot be modified. It represents the entity object as long as it exists in the database. As an object database, ObjectDB supports implicit o ...

 
manual

Locking in JPA

Explains how to use optimistic locking and pessimistic locking in JPA. JPA 2 supports both optimistic locking and pessimistic locking . Locking is essential to avoid update collisions resulting from simultaneous updates to the same data by two concurrent users. Locking in ObjectDB (and in JPA) is always at the da ...

 
release

2.4.3

Release date: 2012-08-26 Download (5.4 MB) Binary:  objectdb-2.4.3.zip You should start by following a  tutorial or reading the manual ...

 
release

2.3.7

Release date: 2012-02-06 Download (5.38 MB) Binary:  objectdb-2.3.7.zip You should start by following a  tutorial or reading the manual ...

 
api-jdo

javax.jdo.Query

The Query interface allows applications to obtain persistent instances, values, and aggregate data from the data store.(Interface of JDO)

 
api-jpa

javax.persistence.OneToOne

Defines a single-valued association to another entity that has one-to-one multiplicity.(Annotation of JPA)

 
api-jpa

refresh(entity, lockMode, properties)

Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type and with specified properties.(Method of javax.persistence.EntityManager)

 
release

2.3.6

Release date: 2012-01-09 Download (5.38 MB) Binary:  objectdb-2.3.6.zip You should start by following a  tutorial or reading the manual ...

 
api-jpa

find(entityClass, primaryKey, properties)

Find by primary key, using the specified properties.(Method of javax.persistence.EntityManager)

 
api-jpa

find(entityClass, primaryKey, lockMode, properties)

Find by primary key and lock, using the specified properties.(Method of javax.persistence.EntityManager)