ObjectDB ObjectDB

Internal Website Search

1-10 of 38 resultsRefresh
110

javax.persistence.FlushModeType

javax.persistence Enum FlushModeType java.lang.Object java.lang.Enum<javax.persistence.FlushModeType> javax.persistence.FlushModeType Implemented Interfaces: Serializable, Comparable<FlushModeType> Flush mode setting. When queries are executed within a transaction, if FlushModeType
100

values()

Static Method javax.persistence.FlushModeType FlushModeType[] values() Returns an array containing the constants of this enum type. This method may be used to iterate over the constants as follows: for (FlushModeType c : FlushModeType.values()) System.out.println(c) Returns: an array containing
97

valueOf(name)

Static Method javax.persistence.FlushModeType FlushModeType valueOf( String name ) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. Parameters: name - the name of the enum constant
94

FlushModeType.AUTO

Enum Constant javax.persistence.FlushModeType AUTO (Default) Flushing to occur at query execution. Since: JPA 1.0
94

FlushModeType.COMMIT

Enum Constant javax.persistence.FlushModeType COMMIT Flushing to occur at transaction commit. The provider may flush at other times, but is not required to. Since: JPA 1.0
36

Setting and Tuning of JPA Queries

order to be visible to the query. Flush policy in JPA is represented by the FlushModeType enum ... 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
10

javax.persistence.TypedQuery

result Since: JPA 2.0 FlushModeType getFlushMode() Get the flush mode in effect for the query execution ... 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
8

javax.persistence.Query

manual. FlushModeType getFlushMode() Get the flush mode in effect for the query execution. Get the flush ... setFlushMode( FlushModeType flushMode) Set the flush mode type to be used for the query execution. Set
8

javax.persistence.EntityManager

FlushModeType getFlushMode() Get the flush mode that applies to all objects contained in the persistence ... and there is no transaction Since: JPA 1.0 void setFlushMode( FlushModeType flushMode) Set the flush mode
0

javax.jdo.JDOEntityManager

: the FetchPlan Since: JDO 2.0 FlushModeType getFlushMode() Get the flush mode that applies to all objects

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