About commit

21-30 of 200Refresh
Issue
32

Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found

.Read .doGet (115 ): Failed to commit transaction: Unexpected database state: BTree -152 is not found [ObjectDB 2.5.5] javax.persistence.RollbackException Failed to commit transaction: Unexpected database state: BTree -152 is not found (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:302
Issue
32

Exception occurs on Linux during commit

(under tomcat) I get the following exception during a call to commit. Code: pm.currentTransaction().begin(); pm.makePersistent(p); pm.currentTransaction().commit();   Stacktrace: [ObjectDB 2.4.0] Unexpected ... .EMImpl.commit(EMImpl.java:276) at com.golocal.places.PlacesProvider.addPlaceToSearch
Issue
32

Threaded Test - Failed to commit transaction: Unexpected internal exception

run the example code with fewer consumer (I just tried 2) it seems to just hang on the "take" commit ... ();             try {                 em.persist(p);                 em.getTransaction().commit ... );                 em.getTransaction().commit();                 System.out.println("take " + p
Forum
32

com.objectdb.o._RollbackException: Failed to commit transaction

Check the Exception below: (occurs sometimes, ObjectDB 2.3.6_14) com.objectdb.o._RollbackException: Failed to commit transaction: at com.objectdb.o.JPE.g(JPE.java:89) ~[JPE.class:na ... .onObjectDBError(OBC.java:1493) ~[OBC.class:na] at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279
Forum
32

finding post-persist pre-commit objects

Hi, I'm wondering if there is a way to have post-persisted, pre-committed, objects show up in queries? ie: the object has been persisted, but not yet committed. Dave   Yes, by setting the flush mode. thanks, worked for me.   dmoshal
Forum
32

NegativeArraySizeException on commiting a transaction

Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the DB and committing the transaction. I tried to repair the DB file with Database Doctor ... in writing specific type of characters. Can you update this specific object (and commit
Forum
32

Query problem after transaction commit

.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old ... with a simple solution (e.g. changing flush mode from commit to auto could solve it). However, a situation
Issue
31

Error on commit

I get the following on commit:  (v2.3.7_15) Let me know if you need more info. Caused by: com.objectdb.o.InternalException at com.objectdb.o.InternalException.f(InternalException.java:236) [:] at com.objectdb.o.SPW.aq(SPW.java:109) [:] at com.objectdb.o.PGW.am(PGW.java:210) [:] at com
Forum
31

Failed to commit transaction: Java heap space (error 613)

.RollbackException Failed to commit transaction: Java heap space (error 613) We are using ObjectDB 2.4.6_10
Forum
31

Need to close+open database for a commit to be taken into account

Hi, I have one case where commit (update of entity in this case) is not taken in account unless database is actually closed and re-open, no error. I tried to use flush instead of close+re-open but it does not work. So currently there is a dirty close + open + reload on each update