Bug #73594 | ClassCastException in MysqlXADataSource if pinGlobalTxToPhysicalConnection=true | ||
---|---|---|---|
Submitted: | 15 Aug 2014 7:26 | Modified: | 10 Sep 2014 1:07 |
Reporter: | Alexander Soklakov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.1.32 | OS: | Any |
Assigned to: | Alexander Soklakov | CPU Architecture: | Any |
[15 Aug 2014 7:26]
Alexander Soklakov
[10 Sep 2014 1:07]
Daniel So
Added the following entry to the Connector/J 5.1.33 changelog: "XA connections failed with a class cast exception for a load-balanced configuration with pinGlobalTxToPhysicalConnection=true. This was because some XA-related classes used com.mysql.jdbc.ConnectionImpl in method parameters during calls. This fix makes the classes use com.mysql.jdbc.Connection instead in those cases."