public enum CallbackMode extends Enum<CallbackMode>
OpenJPAEntityManager
.Enum Constant and Description |
---|
FAIL_FAST |
IGNORE |
LOG |
RETHROW |
ROLLBACK |
Modifier and Type | Method and Description |
---|---|
static CallbackMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallbackMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallbackMode FAIL_FAST
public static final CallbackMode IGNORE
public static final CallbackMode LOG
public static final CallbackMode RETHROW
public static final CallbackMode ROLLBACK
public static CallbackMode[] values()
for (CallbackMode c : CallbackMode.values()) System.out.println(c);
public static CallbackMode 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 © 2006–2019 Apache Software Foundation. All rights reserved.