About ObjectDB

manual

Database Server

Explains how to run and use the ObjectDB object database Server to manage Java/JPA/JDO databases in client-server mode. ObjectDB Server is a tool that manages ObjectDB databases in a separate dedicated process, making these databases ... remote machines. The main benefits in running an ObjectDB server and using the client-server mode are: The ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... exception: Exception in thread "main" [ ObjectDB 2.6.9_05 ] Unexpected exception ( Error 990 ) ... . Please report this error on http : //www.objectdb.com/database/issue/new com. objectdb . o . InternalException ...

 
issue

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) Did not happen with objectdb-2.6.3_04 (which one can easily test and compare in the test console app for NetBeans8.1 provided, as explained below). To reproduce download the app and unpack, open in NetBeans8.1, perform Clean and Build, and Run: ... The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) Did not ...

 
tutorial

JPA Web App Tutorial - Maven Project

The JPA Web Application tutorial for Tomcat / Jetty as a Maven project (download & run).... embedded server. No need to download and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty embedded server automatically. When the ...

 
forum_thread

Using Scala collections with ObjectDB

Hi, I cannot see that it is possible to make scala collection classes persistable within ObjectDB. Am I missing something or must  ObjectDB Software Ltd do a specific incorporation of the scala.collection._  api for it to work ? (http://www.scala-lang.org/docu/files/collections-api/collections.html)   /Peter   ... to make scala collection classes persistable within ObjectDB. Am I missing something or must  ObjectDB Software Ltd do a specific incorporation of ... some special handling, which is not implemented yet by ObjectDB. I will check if this could be solved in one of the next ...

 
tutorial

Getting Started with JPA - Maven Project

The Getting Started with JPA tutorial as a Maven project (download & run). The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but if you p ...

 
issue

ObjectDB 2 JDO Manual

The new ObjectDB Manual describes how to use ObjectDB 2 with JPA. An additional manual that focuses on using ObjectDB 2 with JDO can help JDO users. But since writing a new manual and then maintaining two similar manuals, one for JPA and the other for JDO requires sufficient effort, this will be done only if there is sufficient demand.  ... 15:24 The new ObjectDB Manual describes how to use ObjectDB 2 with JPA. An additional manual that focuses on using ObjectDB 2 ...

 
forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! ... Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code ... Persistence . createEntityManagerFactory ( "objectdb:" + aFilename ) ; m_EntityManager = ...

 
forum_thread

Does ObjectDB support lazy loading?

I'm evaluating ObjectDB 2.0 RC1. Everything works fine except a lazy loading problem. I've a Parent class which contains List<Child>, marked with @OneToMany. After persisting a Parent object, (in the Explorer) I can see all the property values of the Child objects in the list. However, when the Parent object is read from EntityManager, all the properties except ID of the Child objects are null. The EntityManager is not yet closed when the getters are called.... 10:25 I'm evaluating ObjectDB 2.0 RC1. Everything works fine except a lazy loading problem. I've ... the properties can be read. It seems to me that ObjectDB doesn't support lazy loading, am I right?   ...

 
forum_thread

Entity is not related to ObjectDB, but i get exception from ObjectDB

Here is the description of the problem we are facing:
We have an entity DialogActionNew which previously was located in ObjectDB and recently has been transferred to PostreSQL. We are using ORM Hibernate
When getting this entity from PostgreSQL with the key EntityManager.find(id), we receive another entity - DialogNew, which has an exception: ... an entity DialogActionNew which previously was located in ObjectDB and recently has been transferred to PostreSQL. We are using ORM ... far as I can understand, it is an exception from ObjectDB, although the entity itself is not related to ObjectDB any more.   <persistence-unit name = "DP_PU" ...