About manual


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


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


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


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


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


ODB Doctor Stops Progressing (runs forever)

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


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



Type for query parameter objects.(Interface of JPA)



Specifies a static, named query in the Java Persistence query language.(Annotation of JPA)



An object that defines an ordering over the query results.(Interface of JPA)