ObjectDB ObjectDB

Internal Website Search

11-20 of 28 resultsRefresh
19

Update more than 10000 entities by an update query fails

(); emOne.setFlushMode(FlushModeType.AUTO); { create10001Elements(emOne ... .setFlushMode(FlushModeType.AUTO); { String query = "UPDATE " + MyModelElement.class ... .getTransaction().begin(); emThree.setFlushMode(FlushModeType.AUTO
19

Duplicate Entity class names causes Exception in Query

.Singleton.count", Long.class); q.setFlushMode(FlushModeType.AUTO); try { return q ... .setFlushMode(FlushModeType.AUTO);   try {    long l = (Long) q.getSingleResult();    if(l > Integer ... demands we flush transaction to db if we wish to see its results q.setFlushMode(FlushModeType.COMMIT
15

Performance and memory usage of queries

;   for (int i = 0; i < 100; i++) {    em = emf.createEntityManager();    em.setFlushMode(FlushModeType.AUTO ... .setFlushMode(FlushModeType.AUTO);   em.getTransaction().begin();   Query q = em.createQuery("DELETE FROM
15

Entity has be persistended,but query not fetched?

.setFlushMode(FlushModeType.AUTO); query.getResultList(); maozf maozf The following example demonstrates ... = em.createQuery("SELECT u FROM User u");         query.setFlushMode(FlushModeType.AUTO
15

Empty temporary dat files in the temp folder

");   EntityManager em = emf.createEntityManager();   em.setFlushMode(FlushModeType.AUTO);   em.getTransaction ... );   EntityManager em = emf.createEntityManager();   em.setFlushMode(FlushModeType.AUTO);   em
11

Database(*.odb) file size on disk

.setFlushMode(FlushModeType.AUTO);   int objects = 1000;   int loops = 3;   for (int iteration = 0
11

Should derived fields of an EmbeddedId be manually maintained by app code?

.setParameter("container", this); q.setFlushMode(FlushModeType.AUTO); try { long l = (Long) q
11

Exception on creation when running multithreaded

also had: typedQuery.setFlushMode(FlushModeType.AUTO); for the specific query. If I change the logic
11

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

_EntityManager = m_EntityMgrFactory.createEntityManager(); m_EntityManager.setFlushMode( FlushModeType
3

Sometimes cascade persist does not work during commit

.setFlushMode(FlushModeType.AUTO); em.getTransaction().begin(); em.createQuery ... .createEntityManagerFactory("objectdb:./db.tmp"); em = emf.createEntityManager(); em.setFlushMode

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