db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julius Stroffek (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2420) XAConnection close method should throw an exception if it is called when the global transaction is associated with the connection.
Date Thu, 08 Mar 2007 15:12:24 GMT
XAConnection close method should throw an exception if it is called when the global transaction
is associated with the connection.
----------------------------------------------------------------------------------------------------------------------------------

                 Key: DERBY-2420
                 URL: https://issues.apache.org/jira/browse/DERBY-2420
             Project: Derby
          Issue Type: Bug
          Components: Network Client
            Reporter: Julius Stroffek
         Assigned To: Julius Stroffek
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message