Bug #1737 MysqlXaDataSource class missing
Submitted: 2 Nov 2003 23:22 Modified: 4 Nov 2003 10:14
Reporter: Chin Wei Chan Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version:3.0 onwards OS:
Assigned to: Mark Matthews CPU Architecture:Any

[2 Nov 2003 23:22] Chin Wei Chan
Description:
MysqlXaDataSource class is missing in the jar file.  This is needed in order for user transaction to rollback.

How to repeat:
open the jar file and it can be noticed that the MysqlXaDataSource is not inside.
[4 Nov 2003 10:14] Mark Matthews
MM.MySQL supported 'emulated' XA transacations (hence the MySQLXADataSource implementation), but this feature was removed for 3.0 onwards due to the fact that it didn't work well. Connector/J will have XA support once the MySQL server itself supports this functionality.

In the meantime, you should use whatever XA wrappers your application server provides (BEA and JBoss provide XA wrappers for non-XA databases) to acheive the same functionality, but realize that you can have un-recoverable heuristic failures using these wrappers.