| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: The transaction statusThe userTransaction)UserTransaction from which to extract the status.Extract the status code from a |
| public static int | Returns: The transaction statusThe transactionManager)TransactionManager from which to extract the status.Extract the status code from the current |
| public static boolean | Returns: True if the code indicates active; false otherwise.The transaction status code to check status)Does the given status code indicate an active transaction? |
| public static boolean | Returns: True if the transaction is active; false otherwise.The userTransaction)UserTransaction whose status is to be checkedDoes the status code obtained from the given |
| public static boolean | Returns: True if the transaction is active; false otherwise.The transactionManager)TransactionManager whose status is to be checkedDoes the status code obtained from the given |
| public static boolean | Returns: True if the code indicates a roll back; false otherwise.The transaction status code to check status)Does the given status code indicate a committed transaction? |
| public static boolean | Returns: True if the transaction indicates commit; false otherwise.The userTransaction)UserTransaction whose status is to be checkedDoes the status code obtained from the given |
| public static boolean | Returns: True if the transaction indicates commit; false otherwise.The transactionManager)TransactionManager whose status is to be checkedDoes the status code obtained from the given |
| public static boolean | Returns: True if the code indicates a roll back; false otherwise.The transaction status code to check status)Does the given status code indicate the transaction has been marked for rollback? |
| public static boolean | Returns: True if the code indicates a roll back; false otherwise.The transaction status code to check status)Does the given status code indicate a rolled back transaction? |
| public static boolean | Returns: True if the transaction indicates roll back; false otherwise.The userTransaction)UserTransaction whose status is to be checkedDoes the status code obtained from the given |
| public static boolean | Returns: True if the transaction indicates roll back; false otherwise.The transactionManager)TransactionManager whose status is to be checkedDoes the status code obtained from the given |
| JtaStatusHelper | back to summary |
|---|---|
| private JtaStatusHelper() | |
| getStatus | back to summary |
|---|---|
| public static int getStatus(UserTransaction userTransaction) Extract the status code from a
| |
| getStatus | back to summary |
|---|---|
| public static int getStatus(TransactionManager transactionManager) Extract the status code from the current
| |
| isActive | back to summary |
|---|---|
| public static boolean isActive(int status) Does the given status code indicate an active transaction?
| |
| isActive | back to summary |
|---|---|
| public static boolean isActive(UserTransaction userTransaction) Does the status code obtained from the given
| |
| isActive | back to summary |
|---|---|
| public static boolean isActive(TransactionManager transactionManager) Does the status code obtained from the given
| |
| isCommitted | back to summary |
|---|---|
| public static boolean isCommitted(int status) Does the given status code indicate a committed transaction?
| |
| isCommitted | back to summary |
|---|---|
| public static boolean isCommitted(UserTransaction userTransaction) Does the status code obtained from the given
| |
| isCommitted | back to summary |
|---|---|
| public static boolean isCommitted(TransactionManager transactionManager) Does the status code obtained from the given
| |
| isMarkedForRollback | back to summary |
|---|---|
| public static boolean isMarkedForRollback(int status) Does the given status code indicate the transaction has been marked for rollback?
| |
| isRollback | back to summary |
|---|---|
| public static boolean isRollback(int status) Does the given status code indicate a rolled back transaction?
| |
| isRollback | back to summary |
|---|---|
| public static boolean isRollback(UserTransaction userTransaction) Does the status code obtained from the given
| |
| isRollback | back to summary |
|---|---|
| public static boolean isRollback(TransactionManager transactionManager) Does the status code obtained from the given
| |