Home » Search

About commit

191-200 of 200Refresh
Forum
1

Persisting collection where members are subclasses

the map, then I get  [ObjectDB 2.3.6] javax.persistence.RollbackException Failed to commit transaction ... ); entityManager.getTransaction().commit(); List savedEntries = entryDao.findAll(); System.err ... );         em.getTransaction().commit();                 em.close();         emf.close
Forum
1

persisting object with long[][] arrays of array

[][]. It is taking very long to persist and sometimes never finish - it hangs on getTransaction().commit ... .getTransaction().begin();         emg.persist(obj);         emg.getTransaction().commit();         emg ... .persist(obj);         emg.getTransaction().commit();         emg.clear();         emg.close
Issue
1

Pessimistic lock timeout - blocks indefinitely

released on the first commit. Anything over 1000ms causes the deadlock. Thank you for this bug report ... commited updater0 LockTimeoutException updater2 changing name from start to updater2 updater3 ... to be getting the original copy rather than the commited update and ends up in a RollbackException
Forum
1

Possible issue with String fields

to commit transaction: String index out of range: 5 (error 613) at com.objectdb.jpa.EMImpl.commit ... .java:807) at com.objectdb.o.OBM.bG(OBM.java:722) at com.objectdb.jpa.EMImpl.commit(EMImpl.java
Forum
1

Problem with bidirectional link

to commit transaction: Attempt to persist a reference to a non managed Folder instance - field Folder.children (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279) at F380.main(F380.java:20 ... (OBM.java:804) at com.objectdb.o.OBM.bF(OBM.java:719) at com.objectdb.jpa.EMImpl.commit(EMImpl
Forum
1

Remove not working

retrieval works but during commit the exception above get's thrown. The weird thing is that it works ... ().commit(); em.close(); em = emf.createEntityManager(); em ... (A.class, 2); em.remove(a); em.getTransaction().commit(); em.close
Forum
1

Saving custom list which implements java.util.List fails

] javax.persistence.RollbackException Failed to commit transaction: Attempt to store an instance ... .EMImpl.commit(EMImpl.java:290) at tutorial.TestMyList.main(TestMyList.java:21) Caused by: javax ... .jpa.EMImpl.commit(EMImpl.java:287) ... 1 more   I thought this would be possible, or am I doing
Forum
1

Spring Transactions (@Transactional) within ObjectDB

the persisted object within the same transaction. It is only available after transaction commit. Ideally ... transaction also before commit. But it is unclear which operations exactly are performed by your application ... , because ObjectDB uses FlushModeType.COMMIT by default. Try switching to FlushModeType.AUTO
Issue
1

Unexpected exception (Error 990)

Exception is thrown on commiting a transaction using this code: transaction.begin(); try ... ("Importing..."); //$NON-NLS-1$ repository.setImportProgressPercent(0); transaction.commit ... (during commit) unexpectedly fails to locate a type in order to update an index. Did
Forum
1

Unique contraint with 2 members

; private String sport; ... } The first Unique constraint works. On commit, an exception is thrown ... .persist(new MyEntity());         em.getTransaction().commit();         em.getTransaction().begin();         em.persist(new MyEntity());         em.getTransaction().commit();         em.close