Uses of Class
jakarta.transaction.RollbackException
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 RollbackException in jakarta.transaction
Modifier and TypeMethodDescriptionvoid
Transaction.commit()
Complete the transaction represented by this Transaction object.void
TransactionManager.commit()
Complete the transaction associated with the current thread.void
UserTransaction.commit()
Complete the transaction associated with the current thread.boolean
Transaction.enlistResource
(XAResource xaRes) Enlist the resource specified with the transaction associated with the target Transaction object.void
Transaction.registerSynchronization
(Synchronization sync) Register a synchronization object for the transaction currently associated with the target object.