public enum FlushMode extends Enum<FlushMode>
| Enum Constant and Description |
|---|
FULL
All updatable attributes are flushed.
|
LAZY
If a dirty attribute is encountered will behave like
FULL, otherwise will only trigger cascades. |
PARTIAL
Only dirty attributes are flushed.
|
| Modifier and Type | Method and Description |
|---|---|
static FlushMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlushMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlushMode PARTIAL
public static final FlushMode LAZY
FULL, otherwise will only trigger cascades.public static final FlushMode FULL
public static FlushMode[] values()
for (FlushMode c : FlushMode.values()) System.out.println(c);
public static FlushMode 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 nullCopyright © 2014–2018 Blazebit. All rights reserved.