Internal Website Search

71-80 of 200 resultsRefresh

Remove not working

); EntityManager em = emf.createEntityManager(); em.getTransaction().begin ... .createEntityManager(); em.getTransaction().begin(); b = em.find(B.class, 1); em.remove(b ... >   transaction.begin get Extent, traverse its entries

Error using query with MAX() function

() { for(int i=1;i<32766;i++) { em.getTransaction().begin(); TestEntity v = em.find(TestEntity ... (System.currentTimeMillis())); em.getTransaction().commit(); em.getTransaction().begin ... ) { em.getTransaction().commit(); em.getTransaction().begin(); }

Performance and memory usage of queries

.createEntityManager();    em.setFlushMode(FlushModeType.AUTO);    em.getTransaction().begin ... (FlushModeType.AUTO);   em.getTransaction().begin();   Query q = em.createQuery("DELETE FROM ... ; em.getTransaction().begin();     Query q = em.createQuery("DELETE FROM

zip file or JAR manifest missing

because persistence unit is not essential. trans.begin();    ItemList i = new ItemList();    i.setItemname("Beginning");    em.persist(i);   ... .begin();    Page uri = new Page();    uri.setsUrl(""+iCnt);    em

New to Product & Having An Issue

(this.departmentId, "dOne", null); try{ em.getTransaction().begin(); em ... ().begin(); em.remove(this.foundResult); em.getTransaction().commit ... ().begin(); for(Department d : departments) em.remove(d

Optimistic Locking

: PersistenceManager pm = pmf.getPersistenceManager(); pm.currentTransaction().begin(); pm ... ().begin(); c1.increase(); // Second user retrieves and updates the Counter:   ... ).iterator().next(); pm2.currentTransaction().begin(); c2.increase(); // First user

Database(*.odb) file size on disk

.getTransaction().begin();     EntityA entity = new EntityA();     entity.value ... ++) {     em.getTransaction().begin();     EntityB entityB = new ... ; i++) {     em.getTransaction().begin();     EntityA entity = em.find

New entity objects are duplicated on merge cascading

.createEntityManager();         em.getTransaction().begin ... ;    em.getTransaction().begin();         book ... .createEntityManager();         em.getTransaction().begin();    

stress test -> com.objectdb.o.InternalException: null

modification happening. Tomee is started (with the already deployed app), then the load test begins. begin();         em1.persist(new TestEntity ... ;       em2.getTransaction().begin();       

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

; try { em = getEntityManager(); em.getTransaction().begin ... = getEntityManager(); em.getTransaction().begin(); em.persist(chart ... ; try { em = getEntityManager(); em.getTransaction().begin