About manual

forum_thread

Java 9 support

Hi,  is ObjectDB supporting Java 9 already ? If not when can we expect the support for it ? ... ... With the help of a tool I wrote, and some manual manipulation, I have successfully created a 100% modular JAR Java 9 ...

 
forum_thread

JDO support vs JPA

Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. However I found that there is no complete description or guide how the XML metadata should look in version 2. I found only small fragments of attributes in the description of JDO Annotations (to which XML element is the given annotation equivalent). So my questions to this are: 1. Is there some description of XML metadata for ObjectDB ver2 using JDO which I did not find? ... 3. I found there is only API documentation for JDO and no manual at all as there is for JPA. Does this mean that the support of JDO in ...

 
forum_thread

Problem with Criteria Querys

Hi, i am having problems running following code...   ... I my eyes it is exactly the same as you did in your manual. But running this gets me following error message: Exception in ...

 
forum_thread

Managing software release cycles.

How do you manage software release cycles with objectDB? For example we might have different installation of a given web application, and we might need to introduce new fields with default values or to change something in the database "structure".  How can we apply the update script without downloading the entire DB file? Are there any command line tools like sqlPlus to connect to a DB and execute queries / scripts? ... in the database "structure". See the following manual pages: Database Schema Evolution ...

 
forum_thread

Entity Management Config questions

Hi, the manual states the following regarding config of Entities: http://www.objectdb.com/java/jpa/setting/entities  : <cache ref="weak" level2="0mb" /> The <cache> element specifies settings of the two cache mechanisms for entities:... 07:36 Hi, the manual states the following regarding config of Entities: ...

 
api-jpa

JPA Annotations for Callback Methods

Reference (JavaDoc) of JPA 2 event callback and listener annotations, including @PrePersist(2), @PreRemove, @PreUpdate, @PostLoad, @PostPersist, @PostRemove and @PostUpdate.... The Lifecycle Events section of the ObjectDB Manual explains how to use all these annotations on callback methods and with ...

 
forum_thread

ObjectDB version 2.1 has been released

Version 2.1 has been released: ... #16 ). Added a PDF version of the ObjectDB manual (included in the download). Added sample (tutorials) Maven ...

 
forum_thread

"Attempt to lock a non entity object" error

Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects from the database outside a transaction (inside doesn't seem to matter). First cycle of doEdit and then doCancelEdit works fine. Second time I doEdit produces the error "Attempt to lock a non entity object" session.rollback() is somehow causing the problem (found through debugging) Is this enough information for someone to suggest what might be happening and how to fix it? ... Error was caused - from the ObjectDB manual - by: "The following operations clear the entire persistence ...

 
api-jpa

javax.persistence.PreRemove

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jpa

javax.persistence.Embeddable

Defines a class whose instances are stored as an intrinsic part of an owning entity and share the identity of the entity.(Annotation of JPA)