Class Transaction


public class Transaction extends Transaction
Transaction Class to represent a JTA UserTransaction impl.
  • Constructor Details

    • Transaction

      public Transaction(String scope, jakarta.transaction.UserTransaction userTransaction) throws NamingException
      Parameters:
      scope - the scope, usually an environment like ee9, ee10
      userTransaction - the UserTransaction
      Throws:
      NamingException - if there was a problem registering the transaction