About delete


InternalException when querying indexed field using a list that contains duplicates

ObjectDB is throwing an InternalException in JdoQuery: ... edit delete spiffy ...


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



A PersistenceCapable class that provides callback methods for life cycle events implements this interface.(Interface of JDO)


[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... just before an object is deleted. A possible action is to delete depended persistent objects as demonstrated below. Because the ...



Release date: 2011-04-22 Download (5.07 MB) Binary:  objectdb-2.2.2.zip You should start by following a  tutorial or reading the manual ...


JPQL support for mapped by (inverse) collections

As discussed and demonstrated in this forum thread, collection methods (IS EMPTY, SIZE, MEMBER OF, IN) are not supported for mapped by (inverse) collections.   ... edit delete support ...



Release date: 2011-04-10 Download (5.07 MB) Binary:  objectdb-2.2.1.zip You should start by following a  tutorial or reading the manual ...



Lock modes can be specified by means of passing a LockModeType argument to one of the javax.persistence.EntityManager methods that take locks (lock, find, or refresh) or to the Query.setLockMode() or TypedQuery.setLockMode() method.(Enum of JPA)


[ODB1] Chapter 5 - JDO Connections

The PersistenShows how to use database connections and transactions in JDO. ceManagerFactory interface represents a factory of database connections. Its main role is to provide PersistenceManager instances. The PersistenceManager interface represents a database connection. Every operation on a database requires a PersistenceManager instance. The Transaction interface represents a transaction on a database. Every operation that modifies the content of the database requires an active transaction.[toc hidden:1]... that affect the content of the database (store, update, delete) must always be performed within an active transaction. On the other ...



Whether the key is dependent on the owner (and will be deleted when the owner is deleted).(Annotation Element of javax.jdo.annotations.Key)