Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2515

Keep track of non JTA resource usage and rollback local transactions where the user forgets

    XMLWordPrintable

Details

    • 0
    • 0% 0%

    Description

      We should implement a state machine based on the LocalTransaction events
      if a resource adapter supplies them, such that if a user forgets to commit/rollback
      they get a warning and automatic rollback like BMT.

      http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatIsTheCorrectPatternForUserTransactions

      See javax.resource.spi.ConnectionEventListener::localTransaction[started|committed|rolledback]
      and javax.resource.spi.LocalTransaction::[begin|commit|rollback]

      This should not interfere with LocalXAResource's use of the LocalTransaction to simulate XA
      and perform the last resource gambit.

      Attachments

        Activity

          People

            adrian.brock Adrian Brock (Inactive)
            adrian.brock Adrian Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: