About commit

91-100 of 200Refresh
Forum
3

evictAll() behavior

PersistenceManager - it is useful only to see changes that have been committed by other persistence managers ... of object in one transaction and i want to reclaim memory after commit or even better after flush ... this   System.out.println("Cache size before commit= " + pm.getManagedObjects().size()); pm.currentTransaction
Forum
2

Internal exception when updating date filed (TemporalType.DATE)

Hello! ObjectDB version 2.5.3_02. I get internal exception when commiting update Date field (javax ... to commit transaction: (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290 ... ) at com.objectdb.o.OBM.bJ(OBM.java:729) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:287) ... 2
Forum
2

Database size is much larger than expected (x2)

Exception in thread "main" [ObjectDB 2.2.9_03] javax.persistence.RollbackExcepti on Failed to commit transaction: Java heap space (error 613)         at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277 ... )         at com.objectdb.jpa.EMImpl.commit(EMImpl.java:274)         ... 2 more Question 1 : Why objectdb cause
Forum
2

Insertion Speed Rate and Batch Load

version of your TestObjectDB.java file that commits once per 10,000 entity objects. On Intel Core 2 Quad ... )             {                 em.getTransaction().commit();                 em.getTransaction().begin();             }         }         em.getTransaction().commit();         long time = System.currentTimeMillis
Forum
2

Performance in large transactions

= create10000Entites(); entityManager.merge(entities); x.end += 1; transaction.commit ... .commit(); transaction.close(); entityManager.close(); Can you give us help you understand it? Now ... to the database since the last commit, is more efficient. If there are updates, ObjectDB may have to apply
Forum
2

Remove an entity which attributes were changed - OptimisticLockException

the entity from the database. After commit the transaction an exception is caused with optimistic lock ... , it works well. Why the ObjectDB want to commit the changes of the entity although the entity ... an object, removes it and commit. This should work if the changes of user 1 are local in memory
Forum
2

Dirty checking

that were changed after a commit, i.e: after the transaction has succeeded, so that I can update views ... , and also, the entire transaction could fail. i.e: I'd really like to know after a commit what objects changed in the prior commit. in other words a 'post-commit' listener.  I can guarentee single threaded access
Forum
2

Merge Issue: Attempt to reuse an existing primary key value

("child1"));         em.merge(e1);         em.getTransaction().commit();         em.clear ... (e2);         em.getTransaction().commit();         em.clear();         em.close ... instance         em.getTransaction().commit();         a = em.createQuery(             "SELECT
Forum
2

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

there are now obsolete): - Issue #282 - ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric ... to commit transaction: Failed to locate set method for field property com.greensoft.objectdb.test.entity.value.EnumValue.oldValue using reflection (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java
JPA Doc
2

CacheStoreMode.REFRESH

Enum Constant javax.persistence.CacheStoreMode REFRESH Insert/update entity data into cache when read from database and when committed into database. Forces refresh of cache for items read from database. Since: JPA 2.0