Home » Search

About commit

181-190 of 200Refresh
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
Forum
1

Not able to update records

.getTransaction().commit() to end the transaction wirh a commit. It schould then look like ... .getTransaction().commit(); // end the transaction On an error you had propably to rollback your transaction
Forum
1

null pointer exception in objectdb-2.4.4_06

I have the following stack trace.  Is this a null ptr in our code or in the object db code? Failed to commit transaction:  (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279) [Removed ... .EMImpl.commit(EMImpl.java:276) The stack trace indicates an attempt to persist (indirectly
Issue
1

NullPointer when accessing entity field

is manipulated concurrently in another thread (e.g. transaction is committed or the EntityManager ... ), do the operations using EM in ThreadLocal, on batch end we commit transaction,delete from ThreadLocal and close ... operations, where we usually do update on many objects and after that commit and close the EM. But I
Forum
1

Performance and memory usage of queries

MyEntityElement();     myEntity.getList().add(myEntityElement);    }    em.getTransaction().commit ... .getTransaction().commit();   em.close();   emf.close(); } @Entity public static class MyEntity ...    with VM-argument:  -Xmx512m     em.getTransaction().commit(); On update ObjectDB prepares
Issue
1

Persist & remove in same transaction

& persist a simple entity object, EntityManager is flushed, Transaction is not committed Count ... Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed Count the number of simple entity objects in the database Commit the transaction The count operations in step 3