Bug #72036 XA isSameRM() shouldn't take database into account
Submitted: 14 Mar 2014 2:41
Reporter: Jess Balint Email Updates:
Status: Verified Impact on me:
Category:Connector / J Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: xa

[14 Mar 2014 2:41] Jess Balint
XA isSameRM() defers to ConnectionImpl.isSameResource() this method returns false if only the database differs between connections. There is no known or documented reason for this.

How to repeat:
call isSameRM() on two different connections to the same database server but with different databases

Suggested fix:
remove this comparison