Internal Website Search
71-80 of 152 resultsRefreshCannot save or update entity on Spring App.persist(guest); em.flush(); em.refresh(guest); return guest ... (guest); em.getTransaction().commit(); em.flush(); em.refresh ... .getTransaction().begin(); em.merge(guest); em.getTransaction().commit(); em.flush | |
SectionClassifier message in log class="stacktrace"> Caused by: rbccm.felix.framework.ApplicationException: Error flushing queue at rbccm.felix.objectdb.messaging.ObjectDbMessagePipe.flush(Unknown Source) at rbccm.felix.objectdb.messaging.ObjectDbMessagePipe.flush(Unknown Source) ... 42 more Caused by: java.lang | |
Querys slower when execute a query after every persist When entity classes are not enhanced every flush or flushed to the database. If you have more objects ... flush). Results of your test with enhanced classes are much better and proportional: | |
remove & persist in same transaction => Attempt to reuse an existing primary key value(persitedEntity); // If we call a FLUSH it works. // em.flush(); System.out.println("create ... works is to call a flush (see commet) after em.remove(entity); But this is not efficient, as | |
multi thread application, id field sporadically null to overcome the problem by using flush(), clear() and refresh() hgzwicker Hans-Georg Zwicker Good. See also this manual page, regarding flush_mode_setflushmode">setting a flush mode. support Support | |
Heap Limit reached although the option 'objectdb.temp.page-file' is activated at any time although the flush and the GC were invoked regularly. The attachments ... .objectdb.o.OBM.bO(OBM.java:835) ~[na:na] at com.objectdb.o.OBM.flush(OBM.java:765) ~[na:na], which may work and move modified database pages (after flush) to a temporary file | |
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 a workaround that updates the snapshot | |
ObjectDB 2.2.6 Fixed the "Attempt to reuse an existing primary key value" after flush bug. Fixed a bug in tracking changes to collections of new flushed entity objects. Fixed generated value (ID allocation) bug with flush and in EJB containers. | |
objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active') { em.flush(); //ObjectDB ensure id exists. } } catch ... ] javax.persistence.TransactionRequiredException //Attempt to flush a transaction ... .TransactionRequiredException Attempt to flush a transaction when no transaction is active (error 611 | |
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null: { em.persist(o); if (Global.USE_OBJECTDB) { em.flush ... ()); } } } protected boolean updateOwner(Element owner, Element ownedElement) { if (DO_PRE_FLUSH) { em.flush(); } if (owner == null) { return false; //TODO |