About flush

91-100 of 142Refresh
Forum
1

Need to close+open database for a commit to be taken into account

Hi, I have one case where commit (update of entity in this case) is not taken in account unless database is actually closed and re-open, no error. I tried to use flush instead of close+re-open ... entities) I would like to know if i could try anything else that flush to replace the close+open
Issue
1

Persist & remove in same transaction

I have a test case (attached) which performs the following actions: Open a new transaction Create & 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
Forum
1

Query for objects persisted within the same transaction

was persisted. You may change the default flush mode: http://www.objectdb.com/java/jpa/query/setting#Flush
Issue
1

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

(new TestEntity());         em1.flush();                 EntityManager em2 = emf ... ;     } } It is caused as a result of running an UPDATE query on uncommitted flushed changes in some circumstances
Issue
1

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

) at com.sun.enterprise.container.common.impl.EntityManagerWrapper.flush(EntityManagerWrapper.java ... (PMImpl.java:2279) at com.objectdb.o.OBM.bO(OBM.java:842) at com.objectdb.o.OBM.flush(OBM.java:772
Issue
1

Best practise loading big data

we have no other chance then to cut transitions or flush or clear or close from outside the DB to circumvent ... strategy is. Currently we help a ourself by doing some auto-commit/rollback/flush/reconnect strategy
Result
1

ObjectDB version 2.2.1

Version 2.2.1 Added support for using ObjectDB with JBoss AS 6.0 / 6.1. Fixed several bugs in handling eager fetch. Fixed a pessimistic locking bug. Fixed a bug in using primary key fields in queries. Fixed a bug in queries on deleted objects before commit / flush.
Result
1

ObjectDB version 2.2.4

critical bugs in using flush. Fixed bugs in cascading merge. Fixed a multithreading deadlock bug. Fixed
Result
1

ObjectDB version 2.3.3

Version 2.3.3 Improved compilation performance of OR queries with many elements. Fixed eager fetch of maps and nested embedded objects. Fixed a bug in removing a new flushed entity object before first commit (issue #562). Fixed a NullPointerException in accessing inverse (mapped by) collection
Result
1

ObjectDB version 2.4.0

running queries between flush and commit. Fixed a deadlock (issue #450). Fixed another issue in