About generated

manual

[ODB1] Chapter 7 - JDOQL Queries

Explains how to use JDOQL, the Java/JDO Query Language. There are various ways to retrieve objects from an ObjectDB database, as shown in section 6.3 . An Extent , for instance, can be used to retrieve all the instances of a specified persistent class. When a more selective retrieval is needed, JDOQ ...

 
forum_thread

On initialisation of lists: impact on migration from EclipseLink to ObjectDB

I would like to draw the attention of those assessing migration from EclipseLink ORM to ObjectDB to a significant difference in the initialization of persistent lists, namely that EclipseLink injects a List implementation into the List field to be initialise it during EntityManager.persist(). So in EclipseLink the following works: public class HasListOfBlocks { .. ... I have a large number of hand-coded (harder to find) and generated (easy to regenerate) Lists in entities. There are cases where ...

 
issue

Error reading UTF string (Serialized Objects in Explorer)

This is the message I get for attached db and this query: Bug Version: 2.3.6 Priority: Normal Status: Fixed Replies: 6 Type:  Bug ...

 
forum_thread

Criteria query error: Unexpected query token

Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it by getting back all instances (e.g. findAll, I get the following error:   #1 2011-04-09 10:27 Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it b ...

 
forum_thread

Visibility of changes in Transaction is not visible to a JPA QL Query

I have two simple Entities ( see attachment ) and a simple SLSB with container managed transactions which is called by a trivial servlet. Inside a UserTransaction I add a number of items then check to see that they have been added ... property ;     // Bonus empty constructor generated for JPA protected Item ( ) { super ...

 
forum_thread

Reporting Engine?

New to java and objectdb - I am looking for a reporting engine to use with objectdb. Would birt work or is there something better matched? I am ideally looking for something template based with external template designer to customize the template.    #1 2011-06-09 12:30 New to java and objectdb - I am looking for a reporting engine to use with objectdb. Would birt work or is there ...

 
issue

Exception occurs on Linux during commit

I wrote and tested my code on Windows 7 in a tomcat environment. When deployed on Linux (under tomcat) I get the following exception during a call to commit. Code: pm.currentTransaction().begin(); pm.makePersistent(p); pm.currentTransaction().commit();   Stacktrace: ... [ObjectDB 2.4.0] Unexpected exception (Error 990) Generated by OpenJDK 64-Bit Server VM 1.7.0_55 (on Linux ...

 
api-jpa

javax.persistence.JoinTable

Used in the mapping of associations.(Annotation of JPA)

 
forum_thread

Specify location of persistence.xml

Is it possible to tell objectdb explicitly where the persistence.xml is located? #1 2017-11-16 11:25 Is it possible to tell objectdb explicitly where the persistence.xml is located? The background is that I ...

 
forum_thread

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

I have a simple task to validate the sample code will switch over to the slave database when the master is unavailable. I simulate the master unavailable by stopping the master server; which generates the following exception below. What am I doing wrong? It appears the connection manager fails to try the second URL in the list: objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb;user=admin;password=password Thank you in advance. #1 2013-05-06 20:16 I have a simple task to validate the sample code will switch over to the slave database when the master is unavai ...