ObjectDB ObjectDB

Internal Website Search

1-10 of 28 resultsRefresh
98

setFlushMode(flushMode)

Method javax.persistence.EntityManager void setFlushMode( FlushModeType flushMode ) Set the flush mode that applies to all objects contained in the persistence context. Parameters: flushMode - flush mode Since: JPA 1.0
98

setFlushMode(flushMode)

Method javax.persistence.Query Query setFlushMode( FlushModeType flushMode ) Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager. Parameters: flushMode - flush mode Returns: the same query instance Since: JPA 1.0
98

setFlushMode(flushMode)

Method javax.persistence.TypedQuery TypedQuery<X> setFlushMode( FlushModeType flushMode ) Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager. Parameters: flushMode - flush mode Returns: the same query instance Since: JPA 2.0
73

Setting and Tuning of JPA Queries

on which they were invoked). Flush Mode (setFlushMode) Changes made to a database using an EntityManager ... query time flush at the EntityManager level: em.setFlushMode(FlushModeType.AUTO); // Enable query time flush at the level of a specific query: query.setFlushMode(FlushModeType.AUTO
34

Performance in large transactions

entityManager = getEntityManagerFactory().createEntityManager(); entityManager.setFlushMode ... = getEntityManagerFactory().createEntityManager(); entityManager.setFlushMode(FlushModeType.AUTO ... ");   EntityManager em = emf.createEntityManager();   em.setFlushMode(FlushModeType.AUTO);   em
9

javax.persistence.TypedQuery

is negative Since: JPA 2.0 Query setFlushMode( FlushModeType flushMode) Set the flush mode type ... > setFlushMode( FlushModeType flushMode) Set the flush mode type to be used for the query execution. Set
6

javax.persistence.EntityManager

and there is no transaction Since: JPA 1.0 void setFlushMode( FlushModeType flushMode) Set the flush mode
6

javax.persistence.Query

setFlushMode( FlushModeType flushMode) Set the flush mode type to be used for the query execution. Set
3

Tracking changes to new collections (in enhancement mode) after flush

.setFlushMode(FlushModeType.AUTO); em.getTransaction().begin(); ModelElementImpl m1 = new ... (); em.close(); em = emf.createEntityManager(); em.setFlushMode(FlushModeType.AUTO ... (); em = emf.createEntityManager(); em.setFlushMode(FlushModeType.AUTO); em
0

javax.jdo.JDOEntityManager

JDO JavaDoc Reference Documentation -

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