ObjectDB ObjectDB

Internal Website Search

91-100 of 151 resultsRefresh

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

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

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

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 setting a flush mode. support Support

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

is spent on a flush operation before the query is executed. Apparently you have pending changes ... with the pending changes in memory (before commit) then a flush operation is required before the query

ClassCastException of same object type

.OBM.flush(OBM.java:735) at org.sportscoring.openscorercp.storage.Storage_ObjectDb.doEvent(Storage

Best practise loading big data

again. What us bothers is that currently we have no other chance then to cut transitions or flush or ... some auto-commit/rollback/flush/reconnect strategy but it would be definitely better

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

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

reflection (error 363) at com.sun.enterprise.container.common.impl.EntityManagerWrapper.flush ... .flush(OBM.java:772) ... 117 more Caused by: java.lang.reflect.InvocationTargetException ... webel

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

TestEntity());         em1.flush();                 EntityManager em2 = emf.createEntityManager ... as a result of running an UPDATE query on uncommitted flushed changes in some circumstances. A fix

GC Memory

into objectdb, the EntityManager is flushed and released. This process is repeated until all 16 ... flush. So bulk load of data into the database should be done in smaller transaction (with begin

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support