About commit

161-170 of 200Refresh
Forum
1

Removing an entity throws exception

: Failed to commit transaction: 51 ... Caused by: com.objectdb.o._RollbackException: Failed to commit ... .objectdb.o.OBC.onObjectDBError(OBC.java:1451) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277 ... .OBM.bE(OBM.java:715) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:274) ... 40
Forum
1

Unable to execute update query

++)             em.persist(new MyEntity(i));         em.getTransaction().commit();                 em ... ");         query.executeUpdate();         em.getTransaction().commit();         em.close();         emf ... ) {                 System.out.println(i);                 em.getTransaction().commit
Forum
1

What algorithm in find()

", i);    o.setParent( p );    em.persist(o);    trans.commit();    if ((i & 0xFF)==0){     end ... );    }   } The time cost of each 256 commits changed from 0.343 to 59.344 seconds, the graph attached shows ... ? Slow commit might be the result of not using enhancement and not calling clear. Please check
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