org.jboss.seam.annotations
public enum FlushModeType extends Enum<FlushModeType>
Enum Constant and Description |
---|
AUTO
Flushing occurs automatically at commit time and when necessary
before query executions.
|
COMMIT
Flushing occurs automatically at transaction commit time.
|
MANUAL
Flushing never occurs automatically, all changes are queued
until the application calls flush() explicitly.
|
Modifier and Type | Method and Description |
---|---|
boolean |
dirtyBetweenTransactions()
Does this flush mode keep unflushed changes past a
transaction commit?
|
static FlushModeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlushModeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlushModeType MANUAL
public static final FlushModeType AUTO
public static final FlushModeType COMMIT
public static FlushModeType[] values()
for (FlushModeType c : FlushModeType.values()) System.out.println(c);
public static FlushModeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean dirtyBetweenTransactions()
Copyright © 2015 Seam Framework. All Rights Reserved.