|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.em.FlushModeType
public final class FlushModeType
Used to specify when the flush behavior of an EntityManager query when running within a transaction.
Query.setFlushMode(FlushModeType)
,
EntityManager.setFlushMode(FlushModeType)
,
Serialized FormField Summary | |
---|---|
static FlushModeType |
AUTO
The persistent context is automatically flushed prior to running the query. |
static FlushModeType |
COMMIT
The EntityManager's context is not automatically flushed prior to running the query. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final FlushModeType COMMIT
Updates to the state of the entities in the current persistent context are not visible to the processing of the query.
public static final FlushModeType AUTO
All updates to the state of all entities in the current persistent context which could potentially affect result of a query are made visible to the processing of the query.
Method Detail |
---|
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |