About manual

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

Filename.odb$ Persisting Issue

Hi, I seem to have a frequent issue with my Filename.odb$ remaining in my /db directory after my program terminates which prevents me from running my program again due to a persistence error thrown by Eclipse. I can't seem to manually terminate the file either. I usually have to fully close Eclipse and wait a bit for it to remove itself. Any ideas why this happens? Thanks, Dragon #1 2017-09-22 21:07 Hi, I seem to have a frequent issue with my Filename.odb$ remaining in my /db directory after my program ...

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

 
issue

ODB Doctor Stops Progressing (runs forever)

Hi, Bug Version: 2.6.1 Priority: Normal Status: Closed Replies: 2 Type:  Bug ...

 
api-jpa

javax.persistence.Parameter

Type for query parameter objects.(Interface 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)