ObjectDB ObjectDB

Internal Website Search

21-28 of 28 resultsRefresh
11

Is it possible to remove parent/child entities without refresh?

entityManager = emf.createEntityManager();   entityManager.setFlushMode(FlushModeType.AUTO);   return
11

Merge with Parent/Child entities not possible

();   entityManager.setFlushMode(FlushModeType.AUTO);   return entityManager; } private void
11

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

("numberOfMapItems"); q.setFlushMode(FlushModeType.AUTO); try { long l = (Long) q.getSingleResult
11

remove & persist in same transaction => Attempt to reuse an existing primary key value

.createEntityManager(); em.setFlushMode(FlushModeType.AUTO); System.out.println("create and persist"); em
11

Spring Transactions (@Transactional) within ObjectDB

See the links to the manual in #2 above. You should prepare the EntityManager:     em.setFlushMode
11

Upgrade to Java 8 won't run

.createEntityManagerFactory (dbName) em = emf.createEntityManager() em.setFlushMode(FlushModeType.AUTO
11

Remove a modified entity cause an optimistic lock exception

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

Query for objects persisted within the same transaction

/java/jpa/query/setting#Flush_Mode_setFlushMode support Support Thanks, The part about performance in

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