About not


[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]... a database connection open for longer than necessary is not recommended in multi user applications because of the resources that every ... and PersistenceManager are defined as JDO interfaces, not as classes. Every JDO implementation, including ObjectDB, defines classes ...



A class that can be managed by a binary-compatible JDO implementation must implement this interface.(Interface of JDO)



Annotation to specify that the member is not persistent.(Annotation of JDO)


Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license) to the objectDB library.... into business layer and persistence layer (others are not relevant here). Per domain and per layer, we have an OSGI bundles. The ... as OSGi component. But then the persistence unit is not found (defined in persistence.xml) Do you have any idea how you can ...



This class can be used by a JDO-aware application to call the JDO behavior of PersistenceCapable instances without declaring them to be PersistenceCapable.(Class of JDO)



The JDO Transaction interface provides for initiation and completion of transactions under user control.(Interface of JDO)



This class is a helper class for JDO implementations.(Class of JDO)


[ObjectDB 2.5.5_03] Unexpected exception (Error 990)

Hello! When I run this query SELECT t FROM Unit t WHERE t.lastGeocodedPosition IS NULL OR t.lastGeocodedPosition.receiveTime < :lastGeocodedPosition.receiveTime I get the following exception: ... and tries to get receiveTime1u6kopqt6zmjo from the not set parameter. I'll change my WHERE clause generator to remove ... a better exception for trying to retrieve a field of a not set parameter. Thanks for your help Ralph ...



Utility interface between the application and the persistence provider managing the persistence unit.(Interface of JPA)


Detached Entity Objects

Explains detached entity objects and how to work with detached objects in JPA, including merging them into an EntityManager.... are objects in a special state in which they are not managed by any EntityManager javax.persistence.EntityManager ... in functionality: Many JPA methods do not accept detached objects (e.g. lock lock(entity, lockMode) ...