public static enum UnitOfWork.CommitOrderType extends java.lang.Enum<UnitOfWork.CommitOrderType>
By default the commit of a set of the same entity type is ordered by primary key.
Enum Constant and Description |
---|
CHANGES
Updates are ordered by the object's changes, then by id.
|
ID
Updates and deletes are ordered by the object's id.
|
NONE
No ordering is done.
|
Modifier and Type | Method and Description |
---|---|
static UnitOfWork.CommitOrderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitOfWork.CommitOrderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitOfWork.CommitOrderType ID
public static final UnitOfWork.CommitOrderType CHANGES
public static final UnitOfWork.CommitOrderType NONE
public static UnitOfWork.CommitOrderType[] values()
for (UnitOfWork.CommitOrderType c : UnitOfWork.CommitOrderType.values()) System.out.println(c);
public static UnitOfWork.CommitOrderType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null