Home » Search

About commit

181-190 of 200Refresh
Forum
1

Extra uninitialised entities spawned on merge()

, "root");         em.persist(root);         em.getTransaction().commit();         Long id = root ... );             em.getTransaction().commit();         }         em.getTransaction().begin();         em.merge(root);         em.getTransaction().commit();         TypedQuery query = em
Forum
1

find() cost unreasonable time!

, (System.currentTimeMillis()-start)/1000f);     trans.commit();     em.clear();     trans.begin();    }   }   trans.commit();   System.out.printf("Total: %d, Level:%d %n", iNum, iLevel);   float timecost ... , that is a big problem. After commit everyone can see the changes. Sometimes a refresh is needed
Issue
1

GC Memory

: Persisting too many large objects in one transaction. Note that only commit can release memory, not ... and commit for each, and possibly also clear after commit) Using classes that are not enhanced. In
Issue
1

InternalException

Hi, 3 Days before our rollout.. We've just got this when trying to commit persist of a bunch of entities into the DB   Caused by: com.objectdb.o._RollbackException: Failed to commit transaction ... :] at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279) [objectdb-2.4.0.jar:] {..} ... 25 more Caused by
Issue
1

Issue with cascade delete & add/remove

to clear the collection first, commit that and then remove the Contact? thanks! Any Update ... .persist(contact);         em.getTransaction().commit();         printCounts(em);         em.close ... .getAddresses().add(address_1);         em.getTransaction().commit();         printCounts(em);         em
Issue
1

java.lang.ClassCastException: com.objectdb.o.SCU cannot be cast to com.objectdb.o.PRU

): Failed to commit transaction: com.objectdb.o.SCU cannot be cast to com.objectdb.o.PRU [ObjectDB 2.7.1] javax.persistence.RollbackException Failed to commit transaction: com.objectdb.o.SCU cannot be cast to com.objectdb.o.PRU (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) at cl
Forum
1

Left join fetch behaviour doesn't retrieve children?

"));         em.merge(e1);         // Ok, seems to be well merged         em.getTransaction().commit ... .getTransaction().commit();   em.clear();   em.close();   // Try to retrieve parent and children ... .setEntityChild(child2);    em.merge(e1);   }   em.getTransaction().commit();   em.clear
Forum
1

Multi-thread access to single EM's entities

);         em.getTransaction().begin();         em.persist(pointless);         em.getTransaction().commit ... );                }         });         t.start();         t.join();           em.getTransaction().commit(); // commit t's changes         em.close();         emf.close();     }     @Entity     static
Issue
1

new objects not available in mappedBy associations

, even if it is persisted, and even if the transaction is committed??   This seems to be the normal ... after the transaction is committed (or after the update and before commit, if your EntityManager is set to use
Forum
1

New to Product & Having An Issue

); em.getTransaction().commit(); }catch(Exception e){ e ... (this.foundResult); em.getTransaction().commit(); }catch(Exception e ... : departments) em.remove(d); em.getTransaction().commit