Home » Search

About commit

191-200 of 200Refresh
Forum
1

Not able to update records

.getTransaction().commit() to end the transaction wirh a commit. It schould then look like ... .getTransaction().commit(); // end the transaction On an error you had propably to rollback your transaction
Forum
1

null pointer exception in objectdb-2.4.4_06

I have the following stack trace.  Is this a null ptr in our code or in the object db code? Failed to commit transaction:  (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279) [Removed ... .EMImpl.commit(EMImpl.java:276) The stack trace indicates an attempt to persist (indirectly
Issue
1

NullPointer when accessing entity field

is manipulated concurrently in another thread (e.g. transaction is committed or the EntityManager ... ), do the operations using EM in ThreadLocal, on batch end we commit transaction,delete from ThreadLocal and close ... operations, where we usually do update on many objects and after that commit and close the EM. But I
Forum
1

Performance and memory usage of queries

MyEntityElement();     myEntity.getList().add(myEntityElement);    }    em.getTransaction().commit ... .getTransaction().commit();   em.close();   emf.close(); } @Entity public static class MyEntity ...    with VM-argument:  -Xmx512m     em.getTransaction().commit(); On update ObjectDB prepares
Issue
1

Persist & remove in same transaction

& persist a simple entity object, EntityManager is flushed, Transaction is not committed Count ... Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed Count the number of simple entity objects in the database Commit the transaction The count operations in step 3
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