Internal Website Search

141-150 of 200 resultsRefresh

pesimistic Lock semantic

wanted commit the first transaction and I also got lock exception. this the test:   commit(); } catch (JDOUserException e1) { pm1.currentTransaction().commit(); pm2

Error using query with MAX() function

(System.currentTimeMillis())); em.getTransaction().commit(); em.getTransaction().begin ... )tq.getSingleResult(); em.getTransaction().commit(); System.out.println("MaxDate = "+mDate+" i ... >   awhawks Adam W. Hawks There seems to be a link between how often I commit

Optimistic locking: prevent version increment on entity collection attribute

);        em.getTransaction().commit();        ... constructor and we are still in the same transaction (before any commit or rollback). In ... > - The Test class with a test method that creates a document, adds 2 Readings to it and commits

Error 613 - i cant put a list into a Squad object

" [ObjectDB 2.2.0] javax.persistence.RollbackException Failed to commit transaction: Failed to write ... managed 'test.Athlet' instance (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:259) at test ... .commit(EMImpl.java:256) ... 1 more Caused by: com.objectdb.o.UserException: Failed to write

Fantom

Address(street:"Groovy")) transaction.commit() } @Entity class Address{ String street }commit } } } @Entity class Address{ Str? street ... ._RollbackException: Failed to commit transaction: Failed to get reference value of field field fan.FodbTest

Different behavior with persist() and queried instances?

a sample project, *after* the commit, my list property is correctly enhanced with odb specific fields ... > After the commit and persist calls I do close the entity manager so my object gets detached. Between the persist() and the commit() call, my list property seems to be correctly tracked as

Items in list are doubled, when the entity class is not enhanced

: l){ em.remove(o); } em.getTransaction().commit(); l = em ... (); for(Object o : l){ em.remove(o); } em.getTransaction().commit ... ); em.getTransaction().commit(); em.refresh(c); em.getTransaction

ArrayIndexOutOfBoundsException on flush

.getTransaction().commit(); } catch(Exception e) { if(em.getTransaction().isActive()) em ... have a full stack trace as the app went into a commit retry loop which blew out the logs: Attempt to commit a transaction after failure in writing to database file 'F

InternalException during producer/consumer scenario

.objectdb.o._RollbackException: Failed to commit transaction: Unexpected internal exception at com ... .onObjectDBError(OBC.java:1386) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:259) at rbccm.felix ... > at com.objectdb.o.OBM.bD(OBM.java:711) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:256)

Server out of memory exceptions

class="stacktrace"> [ObjectDB 2.2.8] javax.persistence.RollbackException Failed to commit transaction: Attempt to commit a transaction after failure in writing to database file 'F:\calculationservice\objectdb\dbs\admin\WorkflowHistory.odb' (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277