Uses of Class
jakarta.transaction.SystemException
Packages that use SystemException
Package
Description
Provides the API that defines the contract between the transaction
manager and the various parties involved in a distributed transaction
namely : resource manager, application, and application server.
-
Uses of SystemException in jakarta.transaction
Methods in jakarta.transaction that throw SystemExceptionModifier and TypeMethodDescriptionvoidTransactionManager.begin()Create a new transaction and associate it with the current thread.voidUserTransaction.begin()Create a new transaction and associate it with the current thread.voidTransaction.commit()Complete the transaction represented by this Transaction object.voidTransactionManager.commit()Complete the transaction associated with the current thread.voidUserTransaction.commit()Complete the transaction associated with the current thread.booleanTransaction.delistResource(XAResource xaRes, int flag) Disassociate the resource specified from the transaction associated with the target Transaction object.booleanTransaction.enlistResource(XAResource xaRes) Enlist the resource specified with the transaction associated with the target Transaction object.intTransaction.getStatus()Obtain the status of the transaction associated with the target Transaction object.intTransactionManager.getStatus()Obtain the status of the transaction associated with the current thread.intUserTransaction.getStatus()Obtain the status of the transaction associated with the current thread.TransactionManager.getTransaction()Get the transaction object that represents the transaction context of the calling thread.voidTransaction.registerSynchronization(Synchronization sync) Register a synchronization object for the transaction currently associated with the target object.voidTransactionManager.resume(Transaction tobj) Resume the transaction context association of the calling thread with the transaction represented by the supplied Transaction object.voidTransaction.rollback()Rollback the transaction represented by this Transaction object.voidTransactionManager.rollback()Roll back the transaction associated with the current thread.voidUserTransaction.rollback()Roll back the transaction associated with the current thread.voidTransaction.setRollbackOnly()Modify the transaction associated with the target object such that the only possible outcome of the transaction is to roll back the transaction.voidTransactionManager.setRollbackOnly()Modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction.voidUserTransaction.setRollbackOnly()Modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction.voidTransactionManager.setTransactionTimeout(int seconds) Modify the timeout value that is associated with transactions started by the current thread with the begin method.voidUserTransaction.setTransactionTimeout(int seconds) Modify the timeout value that is associated with transactions started by the current thread with the begin method.TransactionManager.suspend()Suspend the transaction currently associated with the calling thread and return a Transaction object that represents the transaction context being suspended.