TransactionCompletionStatus (enum)
API
TransactionCompletionStatus.java
enum TransactionCompletionStatus {
COMMITTED (1)
ROLLED_BACK (2)
UNKNOWN (3)
TransactionCompletionStatus forStatus(int status) (4)
boolean isCommitted()
boolean isRolledBack()
boolean isUnknown()
}
1 | COMMITTED
Completion status in case of proper commit. |
2 | ROLLED_BACK
Completion status in case of proper rollback. |
3 | UNKNOWN
Completion status in case of heuristic mixed completion or system errors. |
4 | forStatus(int) |