Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2420

XAConnection close method should throw an exception if it is called when the global transaction is associated with the connection.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.2.2.0
    • None
    • JDBC, Network Client
    • Normal
    • Embedded/Client difference

    Description

      As comments show in DERBY-2220 The Distributed Transaction Processing: The XA Specification forbids for a transaction manager or an application to call XAConnection.close method when there is a global transaction associated with the XA connection.

      Currently,

      Embedded driver throws the exception but the connection is left in a state when it cannot be used anymore and the locks held by the transaction can not be released later.

      Network driver allows the call of the method and closes the connection.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julo Julius Stroffek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: