Home » Search

About flush

71-80 of 135Refresh
Forum
2

Spring Transactions (@Transactional) within ObjectDB

advise !   Thanks, Sandeep Build 2.5.2_01 adds support for enabling auto flush by default, by setting a system property:     System.setProperty("objectdb.temp.auto-flush", "true"); before loading ObjectDB, or as a JVM argument: > java -Dobjectdb.temp.auto-flush=true ... Sandeep
Issue
2

Query in nested transaction returns detached entity if lazy-loaded

that was flushed before these objects have been persisted. This is caused due to the way that currently ObjectDB manages flushed transactions as a snapshot of the database when flush occurs. Build 2.7.4_04 includes
Result
1

ObjectDB version 2.6.5

Version 2.6.5 Added optional (experimental) support of using clients with different object model versions. Changed references to new flushed objects from ObjectDB to weak references. Cancelled ... of connections specified in configuration. Fixed optimistic lock exception on removing of a flushed
Result
1

ObjectDB version 2.6.8

on commit after flushing a removed modified entity object. Fixed a NullPointerExeption on new index building. Fixed a NullPointerExeption on flush (issue #1840). Fixed a bug in using temporary files in
Issue
1

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

condition of running a query in a transaction with uncommitted flushed updates, where these flushed updates
Forum
1

Access entity version before commit transaction

field it doesn´t. I tried transaction.flush() in combination with transaction.refresh(entity ...             transaction.flush();             transaction.refresh(flight);             // now I get the right
Issue
1

ArrayIndexOutOfBoundsException: -1

.o.OBM.flush(OBM.java:739) ... 1 more Caused by: java.lang.ArrayIndexOutOfBoundsException ... even if you request zero size. In some situations (e.g. when using flush that is followed by other operations
Forum
1

calling persist on an object more than once

the EntityExistsException or another PersistenceException may be thrown at flush or commit time ... , since usually persist does access the database, so checking for existing entity in the database is only performed on commit or flush. dmoshal
Forum
1

Duplicate Entity class names causes Exception in Query

.NoIdQuerySingleton.numberOfMapItems");   //ObjectDb demands we flush transaction to db if we wish ... we flush transaction to db if we wish to see its results q.setFlushMode(FlushModeType.COMMIT); //q
Forum
1

EntityManager refresh problem

object has not been stored yet in the database. If we change the code and add a flush operation ... .persist(simpleEntity1);             entityManager.flush();             simpleEntity1.setFieldA