Home » Search

About FlushModeType

1-10 of 36Refresh
JPA Doc
99

javax.persistence.FlushModeType

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

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
JPA Doc
85

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
JPA Doc
83

FlushModeType.AUTO

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

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
Manual
82

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
JPA Doc
45

JPA Miscellaneous

Reference (JavaDoc) of JPA API, including PersistenceUtil, PersistenceUnitUtil, Cache, CacheRetrieveMode, CacheStoreMode, FlushModeType, LockModeType, PessimisticLockScope.
JPA Doc
11

javax.persistence.TypedQuery

of the ObjectDB/JPA manual. 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
JPA Doc
9

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
JPA Doc
9

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