|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LocalStatus> org.hibernate.engine.transaction.spi.LocalStatus
public enum LocalStatus
Enumeration of statuses in which a local transaction facade (Transaction
) might be.
Enum Constant Summary | |
---|---|
ACTIVE
The local transaction has been begun, but not yet completed. |
|
COMMITTED
The local transaction has been competed successfully. |
|
FAILED_COMMIT
The local transaction attempted to commit, but failed. |
|
NOT_ACTIVE
The local transaction has not yet been begun |
|
ROLLED_BACK
The local transaction has been rolled back. |
Method Summary | |
---|---|
static LocalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LocalStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LocalStatus NOT_ACTIVE
public static final LocalStatus ACTIVE
public static final LocalStatus COMMITTED
public static final LocalStatus ROLLED_BACK
public static final LocalStatus FAILED_COMMIT
Method Detail |
---|
public static LocalStatus[] values()
for (LocalStatus c : LocalStatus.values()) System.out.println(c);
public static LocalStatus valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |