public enum FlushStrategy extends Enum<FlushStrategy>
| Enum Constant and Description |
|---|
ENTITY
Flushes changes by loading the entity graph and applying changes on the managed objects.
|
QUERY
Will flush changes via DML statements if possible, otherwise fallback to
ENTITY strategy. |
| Modifier and Type | Method and Description |
|---|---|
static FlushStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlushStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlushStrategy ENTITY
public static final FlushStrategy QUERY
ENTITY strategy.public static FlushStrategy[] values()
for (FlushStrategy c : FlushStrategy.values()) System.out.println(c);
public static FlushStrategy 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.