The method javax.transaction.UserTransaction.getStatus is a part of the Java Transaction API (JTA) in Java. It is used to retrieve the current status of a transaction. The status can be one of the following values: - STATUS_ACTIVE: Indicates that the transaction is currently active and in progress. - STATUS_COMMITTED: Indicates that the transaction has been successfully committed. - STATUS_COMMITTING: Indicates that the transaction is currently in the process of being committed. - STATUS_MARKED_ROLLBACK: Indicates that the transaction has been marked for rollback. - STATUS_NO_TRANSACTION: Indicates that there is no transaction associated with the current execution context. - STATUS_PREPARED: Indicates that the transaction has been prepared for two-phase commit. - STATUS_PREPARING: Indicates that the transaction is currently in the process of being prepared for two-phase commit. - STATUS_ROLLEDBACK: Indicates that the transaction has been rolled back. - STATUS_ROLLING_BACK: Indicates that the transaction is currently in the process of being rolled back. - STATUS_UNKNOWN: Indicates that the current transaction status is unknown.
Java UserTransaction.getStatus - 26 examples found. These are the top rated real world Java examples of javax.transaction.UserTransaction.getStatus extracted from open source projects. You can rate examples to help us improve the quality of examples.