[ 
https://issues.apache.org/jira/browse/DBCP-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ioannis Canellos updated DBCP-341:
----------------------------------

    Attachment: DBPC-341-patch.txt

I am attaching a patch that replaces the != operation with a call the Xid 
equals method.

> LocalXAConnectionFactory does not properly checks if Xid is equal to 
> currentXid when resuming
> ---------------------------------------------------------------------------------------------
>
>                 Key: DBCP-341
>                 URL: https://issues.apache.org/jira/browse/DBCP-341
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Ioannis Canellos
>         Attachments: DBPC-341-patch.txt
>
>
> The current implementation checks if Xid is not equal to currentXid using the 
> != . That doesn't work in all cases resulting in XAException.
> I think that this check should be left to the Xid implementation.

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

Reply via email to