Class TransactionUtil

java.lang.Object
africa.absa.inception.jta.util.TransactionUtil

public class TransactionUtil extends Object
The TransactionUtil class provides a helper class for working with transactions.
Author:
Marcus Portmann
  • Constructor Details

    • TransactionUtil

      public TransactionUtil()
  • Method Details

    • transactionExists

      public static boolean transactionExists(javax.transaction.TransactionManager transactionManager)
      Check whether there is an existing JTA transaction.
      Parameters:
      transactionManager - the JTA transaction manager
      Returns:
      true if there is an existing JTA transaction or false otherwise