About not


OutOfMemoryError, if close the entity manager

Hello, why this error occurs during close the entity manager?   ... a temporary file to main memory. The exception is not related particularly to closing an EntityManager but to applying ...


[ObjectDB 2.3.7_25] Unexpected exception (Error 990)

java -cp objectdb.jar com.objectdb.Doctor ~/athene.odb.old ~/new.old [...] ... arrays are stored in ObjectDB. In theory this should not affect existing databases, but still if the database was created by an old ...



Interface used to interact with the entity manager factory for the persistence unit.(Interface of JPA)


How to change properties in urls2.xml ?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... request, so it should have been posted to the forum and not to the issue tracking system. Please read and follow the posting ...


Persisting collection where members are subclasses

OK, I have a number of classes which are all subclasses of Entry (e.g., Folder, Link, Book). In the Folder class, there is a @OneToMany Map<String, Entry> children If I store something in that map which is an Entry, then I can persist just fine. But if I try to put any of the subclasses into the map, then I get  ... that the map values include entity objects that have not been persisted. You have to persist every entity object explicitly unless ...


ObjectDB 1.0 Manual

... knowledge of database programming (SQL, JDBC or JDO) is not required in order to follow this guide, but a strong background and ...


Using explorer with a live embedded db

I want to use ObjectDB explorer with a running embedded db. This issue:  http://www.objectdb.com/database/forum/617   shows a way to do it. I followed the instructions, but still received an error when trying to connect: "...database ... currently in use by another process" I used an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. ... Thanks, but I have not had success yet. Can you please confirm I need to: 1. Edit ...


JPA Query language support in OBjectDB / Sub query or nested Query

Hi Wanted to check with you on the exact level of support of JPA QL within the ObjectDB world. I have given a sample typed query below which fails to work with ObjectDB and it runs very well with the Hibernate/MySQL JPA. We are using Spring Data here. It looks like a problem with Sub query or nested queries where I am using IN clause like below. ... Inner queries are not supported yet. The issue tracking system contains an up to date ...


com.objectdb.o._RollbackException: Failed to commit transaction

Check the Exception below: (occurs sometimes, ObjectDB 2.3.6_14) ... will require some fix in ObjectDB, but since it is not allowed by JPA anyway - consider changing your model and using user defined ...


Step 3: Define an EJB Session Bean

Explains how to define an EJB session bean in an Eclipse Java EE 6 web application.... EE application servers such as GlassFish and JBoss, and not by servlet containers, such as Tomcat and Jetty. By using EJB classes ...