Example usage for Java org.hibernate.engine.transaction.internal.jta JtaStatusHelper fields, constructors, methods, implement or subclass
The text is from its open source code.
int | getStatus(UserTransaction userTransaction) Extract the status code from a UserTransaction |
int | getStatus(TransactionManager transactionManager) Extract the status code from the current javax.transaction.Transaction associated with the given TransactionManager |
boolean | isActive(int status) Does the given status code indicate an active transaction? |
boolean | isActive(UserTransaction userTransaction) Does the status code obtained from the given UserTransaction indicate an active transaction? |
boolean | isActive(TransactionManager transactionManager) Does the status code obtained from the given TransactionManager indicate an active transaction? |