Home » Search

About commit

171-180 of 200Refresh
Forum
1

Database Inconsistency or corruption

() + 1);     System.out.println("Trying to commit");     em.flush();         System.out.println ... . It is unclear why your updates are not committed. Here is a list of possible reasons: Changing objects with no active transaction. Updating objects in a transaction but with no commit. Partial
Forum
1

Database(*.odb) file size on disk

);     entityAIds.add(entity.id);     em.getTransaction().commit();    }    System.out.println("references ... .class, entityAIds.get(i));     entity.entityB = entityB;     em.getTransaction().commit ... ));     em.remove(entity);     em.getTransaction().commit();    }   }   em.close();   emf
Forum
1

Empty temporary dat files in the temp folder

, begin a transaction, do some stuff (find, persist, remove …) and then commit or in the case of errors ... ().commit();   em.close();   emf.close(); } public static void acessDB(String db ... ().commit();   em.close();   emf.close(); } @Entity public static class MyEntity {   @Basic
Forum
1

Entity Update - Is the documentation up to date?

transaction.  If I subsequently begin and commit a transaction, all my changes seem to be merged ... from outside an active transaction.  If I subsequently begin and commit a transaction, all my changes ... will also be applied to database on transaction commit. I'd like to understand the "dirtying" of entities
Forum
1

Error 363 - Failed to read value of inverse relationship

.JavaEETransactionImpl.commit(JavaEETransactionImpl.java:453) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:867) at com.sun.ejb.containers ... );             tr.commit();         } catch (Exception ex) {             ex.printStackTrace
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