ObjectDB ObjectDB

Internal Website Search

81-90 of 152 resultsRefresh
8

EntityManager refresh problem

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

Error using query with MAX() function

If you are using EntityManager's flush you should try build 2.2.3_04 that fixes a critical bug ... the manual. if( (count % config.getUpdateFreq()) == 0) { em.flush
8

Exception on creation when running multithreaded

If your queries are executed on flushed changes that have not been committed yet - this may indicate ... the problem would be very helpful. support Support Yes, the query was executed on flushed changes and I
8

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
8

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
8

Duplicate Entity class names causes Exception in Query

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

Slave server not getting deletes

and disable the L2 data cache. support Support What about calling em.flush(); em.clear(); after executing ... to consider it as a solution. support Support Thanks. I have done some test cases, and doing a em.flush
8

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
1

ObjectDB 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 an exception ... specified in configuration. Fixed optimistic lock exception on removing of a flushed modified
1

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

an unexpected condition of running a query in a transaction with uncommitted flushed updates, where these flushed updates are not found in the data store where they are expected to be temporarily

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