ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
8

Update more than 10000 entities by an update query fails

); } emOne.getTransaction().commit(); emOne.close(); EntityManager ... (query); q.executeUpdate(); } emTwo.getTransaction().commit ... .find(MyModelElement.class, 10001).isVisible()); } emTwo.getTransaction().commit
7

Object belongs to another EntityManager - ERROR

[stderr] (http--10.23.3.98-8081-5) Failed to commit transaction: Object 'pbdmodel.impl.OrgJedinicaImpl ... -5) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) 10:29:14,895 ERROR [stderr] (http--10.23.3 ... [stderr] (http--10.23.3.98-8081-5) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:287) 10:29
7

problem with lazy loading - unittest project attached

repository method, so i guess after the commit the id is assigned?! like i said, this is properbly ... .getTransaction().begin()/commit() and i also can not set the isolation to READ_UNCOMMITTED so i think ... Christoph Ernst You are welcome. To get an object ID before commit - please consider: a different
7

Memory Leak in EntityManagerFactory ?

with no commit or rollback). Possibly, this behaviour is to avoid cleaning objects that are still in ... it. Anyway, if this diagnosis is correct then a possible solution on your side may be to check and commit ... , anyway: if (em.getTransaction().isActive()) em.getTransaction().commit(); em.close
7

failure to enforce NOT NULL for java.lang.String

); //try { tr.begin(); em.persist(r); tr.commit(); //} //catch ... 2.3.7] javax.persistence.RollbackException Failed to commit transaction: Unique constraint (org ... ) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279) jon jon Thank you for this report
7

Schema Update: class hierarchy change

.persist(entity);   em.getTransaction().commit();     em.getTransaction().begin();   MyEntity ... (entityWithID1.name);   System.out.println(entityWithID1.value);   em.getTransaction().commit ... "; //  entity.value = "value123"; //  em.persist(entity); //  em.getTransaction().commit();     em
1

Unexpected exception (Error 990) com.objectdb.o.InternalException

.getTransaction().commit();         // Keep a strong reference to the embeddable but free the entity ... ();         embeddable.update();         em.getTransaction().commit(); // unexpected state         em.close ... .getTransaction().begin();         em.persist(new MyEntity());         em.getTransaction().commit
1

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

(parentEntity);   entityManager.getTransaction().commit();   entityManager.getTransaction().begin ... .getChildEntityContainer().remove("01");   entityManager.flush();   entityManager.getTransaction().commit ... ();         MyEntity e = new MyEntity();         em.persist(e);         em.getTransaction().commit
1

cannot delete objects after crash (see issue 2283)

: <recovery enabled="true" sync="false" path="." max="128mb" /> In this mode, commit returns ... the speed of the sync mode by delaying returning from commit, gathering several concurrent committing ... but you may still lose the last committed transactions after recovery (just that the database will not
1

ArrayIndexOutOfBoundsException: -1

.PersistenceException Attempt to commit a transaction after failure in writing to database file 'C:\Users\Home ... (PersistTest.java:97) Caused by: com.objectdb.o.UserException: Attempt to commit a transaction ... situations (e.g. when using flush that is followed by other operations and then commit) - the page

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