Internal Website Search

91-100 of 152 resultsRefresh

finding post-persist pre-commit objects

#flush_mode_setflushmode">setting the flush mode. support Support thanks, worked

Access entity version before commit transaction

the version field automatically. But if I just set a String field it doesn´t. I tried transaction.flush ... ;      transaction.flush();        

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

; );         this.em.persist(guest);   this.em.flush ... ; this.em.persist(guest);   this.em.flush();   System.out.println( "persisted: " 

Performance issue in a query due to internal calls visitRefs and visitKeyRefs

EmbeddedSystems It seems that the time is spent on a flush operation before the query ... ) then a flush operation is required before the query can be executed. support Support

ArrayIndexOutOfBoundsException: -1

(OBM.java:818) at com.objectdb.o.OBM.flush(OBM.java:739) ... 1 more Caused by ... size. In some situations (e.g. when using flush that is followed by other operations

Best practise loading big data

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

Persist & remove in same transaction

, EntityManager is flushed, Transaction is not committed Count the number of simple entity ... > Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed

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

.enterprise.container.common.impl.EntityManagerWrapper.flush(EntityManagerWrapper.java:437) at com ... :2279) at com.objectdb.o.OBM.bO(OBM.java:842) at com.objectdb.o.OBM.flush(OBM.java:772) ... 117

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

());         em1.flush();         ... > It is caused as a result of running an UPDATE query on uncommitted flushed changes in some 

GC Memory

is flushed and released.  This process is repeated until all 16 segments are loaded. commit can release memory, not flush. So bulk load of data into