About or

  • Search for either of the two terms with uppercase OR. For example, cats OR dogs.
forum_thread

Object belongs to another EntityManager - ERROR

Hi, From time to time we are getting following error in our project when trying to insert/update a record in database ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
manual

Defining a JPA Entity Class

Shows how to define a JPA entity class in order to store objects in the database.... By default, any field that is not declared as static or transient is a persistent field. In our example, the persistent fields ...

 
issue

Schema-Update: Rename superclass and remove one subclass

Hello, we renamed a superclass and removed one of the subclass. If we then try to open the Database (with ObjectDB-Explorer) we get a "Failed to generate dynamic type ..."   Small Example: Generate Database ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Sometimes the ObjectDB throws an internal expeption if a persist() was executed

[ObjectDB 2.6.6_08] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.OBM.bE(OBM.java:395) at com.objectdb.o.OBM.bE(OBM.java:269) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:442) ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

com.objectdb.o.UserException: Failed to generate dynamic type

Hi, I am trying to open a DB and I get the following error:   ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

can't get HashMap out of the database

I'm trying to persist an Entity containing a HashMap. It stores the data in the database OK, but the map is always empty when I get the entity out of the database again. I've reproduced this problem in a simple variation of the Guestbook tutorial: Guest class: ===================== ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Object explorer cannot open odb file. ObjectDB many-to-many relationship

I created a data model to test many-to-many relationship with a link table as following (full code in attachement) ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Failed to commit transaction: Attempt to commit a rollback only transaction

Anyone know what this means?? Suddenly cropped up.   Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Eclipse4 RCP - No Persistence provider for EntityManager

Hello, I'm developing an Eclipse4 RCP application which uses ObjectDB and have the following problem after calling Persistence.createEntityManagerFactory("test.odb") : javax.persistence.PersistenceException: No Persistence provider for EntityManager I'm using the latest ObjectDB 2.6.2.b03. It is integrated in our target platform. It is noticed that since 2.6.2.b02 there is no more integrated javax.persistence & javax.transaction. ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Doctor bug?

Please see the attached .odb file. It was freshly created by my web application, and just very few entries have been posted to the database yet. But still the doctor reports a whole bunch of errors. My application seems to function properly though. I guess this is a bug in the doctor? Using version 2.4.1. I get  ... Cancel To post a reply and/or subscribe to update notifications - please login . ...