Fast Object Database for Java - with JPA/JDO support

Internal Website Search

21-30 of 200 resultsRefresh
21

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

.COMMIT ); if ( m_EntityManager.isOpen() ) { m_EntityManager.getTransaction().begin ... ); } m_EntityManager.getTransaction().commit(); m_EntityManager.flush(); m ... .commit
21

Unexpected Exception during commit

.9_01] javax.persistence.RollbackException Failed to commit transaction: Unexpected internal exception (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) at com ... .commit(EMImpl.java:274) ... 15 more Caused by: java.lang.NullPointerException
21

Sometimes cascade persist does not work during commit

A, afterwards not persisted entities B are added to entity A. At the end a commit is executed and the commit persists the entities B automatically by cascading. But sometimes the cascading doesn't ... ? // persist configuration: commit="true" /> public
21

Populating entity id before transaction commit

Hi, I have a question about populating auto generated id before transaction commit. We are using ... transaction is committed so all returned entities are not populated with ID in this context. How can I force ODB to populate entity ID before transaction is committed? Or maybe there is another way
21

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 ... .persist(project); //rely on Cascade all on ownedElements. em.getTransaction().commit ... .9] javax.persistence.RollbackException Failed to commit transaction: Failed to set numeric value
21

Unexpected not reproducable exception during commit

._RollbackException: Failed to commit transaction: 2019-02-07 04:22:53 - [main] ERROR com.btc.ep.base.dal ... .btc.ep.base.dal.MigrationUtility - PROFILE MIGRATION: at com.objectdb.jpa.EMImpl.commit(EMImpl ... .btc.ep.base.dal.MigrationUtility - PROFILE MIGRATION: at com.objectdb.jpa.EMImpl.commit(EMImpl
21

Access entity version before commit transaction

commiting the transaction: 1. Change entity field e.g. from a to b 2. Create a change entry in database ... the transaction before commiting it. How can I achieve this? If I add something to a collection field ... : transactional.execute() just creates a transaction (entityManager.getTransaction().begin();) and commits
21

Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found

.Read .doGet (115 ): Failed to commit transaction: Unexpected database state: BTree -152 is not found [ObjectDB 2.5.5] javax.persistence.RollbackException Failed to commit transaction: Unexpected database state: BTree -152 is not found (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:302
21

Exception occurs on Linux during commit

(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 ... .EMImpl.commit(EMImpl.java:276) at com.golocal.places.PlacesProvider.addPlaceToSearch
21

Threaded Test - Failed to commit transaction: Unexpected internal exception

) it seems to just hang on the "take" commit. I've attached the objectdb log from these runs if that helps ... .persist(p);                 em.getTransaction().commit();             }             catch(Exception e ... ).getSingleResult();                 em.remove(p);                 em.getTransaction().commit

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support