About commit

151-160 of 200Refresh
Forum
1

Where Does ObjectDB Block/Lock?

()? 3) Does it lock at transaction.begin() if optimistic=false?  4) Does it lock at transaction.commit ... locking, the call to transaction.commit() is where entity object locking actually happens.  Does this mean ... concurrently up to the point where transaction.commit() is called? > Does this mean that all other activity
Forum
1

Update more than 10000 entities by an update query fails

); } emOne.getTransaction().commit(); emOne.close(); EntityManager ... (query); q.executeUpdate(); } emTwo.getTransaction().commit ... ().commit(); emTwo.close(); emf.close(); System.out.println
Forum
1

@OneToMany(fetch = FetchType.LAZY) list is always null

); transaction.commit(); } catch (NotSupportedException e) { e ... ); entityManager.merge(child.getParent()); transaction.commit(); } catch ... .begin(); entityManager.persist(o); transaction.commit(); } catch
Forum
1

@Unique member combination not working

().commit();         } finally {             if (em.getTransaction().isActive()) {                 em ... .persist(person);                 em.getTransaction().commit();             } finally ... thread "main" [ObjectDB 2.x] javax.persistence.RollbackException Failed to commit transaction
Issue
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 ... and then commit) - the page cache could purge newer version of a page leaving older versions for use
Issue
1

Blocked by find

(OBM.java:813) com.objectdb.o.OBM.bG(OBM.java:719) com.objectdb.jpa.EMImpl.commit(EMImpl.java:276 ... this but it looks like objectdb is blocked in the commit? Could you give me some information ... .ObjectManager.bG(ObjectManager.java:719) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:276) at rbccm.felix
Forum
1

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

" on-commit="true" />                                         commit="true" />                 commit
Forum
1

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) Thank you for this report and for the test
Forum
1

how to persist an object twice into two diff. collections of two diff. classes

(tmpSquad); db.persist(tmpComp); } db.commit ... .persistence.RollbackException Failed to commit transaction: Attempt to reuse an existing primary key value (ch.hsr.gymtastic.domain.Squad:1) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl
Issue
1

New entity objects are duplicated on merge cascading

();         em.getTransaction().begin();         em.persist(new Book());         em.getTransaction().commit ... (book);         em.getTransaction().commit();         em.close();                 em = emf ... A());         em.getTransaction().commit();                 em.close();         em = emf