org.springframework.transaction.jta

Class JtaTransactionObject

  • java.lang.Object
    • org.springframework.transaction.jta.JtaTransactionObject
    • Constructor Summary

      Constructors 
      Constructor and Description
      JtaTransactionObject(UserTransaction userTransaction)
      Create a new JtaTransactionObject for the given JTA UserTransaction.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void flush()
      This implementation triggers flush callbacks, assuming that they will flush all affected ORM sessions.
      UserTransaction getUserTransaction()
      Return the JTA UserTransaction object for the current transaction.
      boolean isRollbackOnly()
      This implementation checks the UserTransaction's rollback-only flag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JtaTransactionObject

        public JtaTransactionObject(UserTransaction userTransaction)
        Create a new JtaTransactionObject for the given JTA UserTransaction.
        Parameters:
        userTransaction - the JTA UserTransaction for the current transaction (either a shared object or retrieved through a fresh per-transaction lookuip)