iam1981 wrote:
[snip]
> Where is MysqlXaDataSource? I can't find it in the
> driver. I am using mysql-connector-java-3.1.6.
Connector/J doesn't support XA (yet, it's coming for either MySQL-5.0, and 5.1, and the beginnings of it are implemented in Connector/J 3.2, but it's not anywhere near ready for everyday use), so in a nutshell you _can't_ use XA yet.
>
> I selected XA transactions for future development
> purposes (i need it).
Are you _sure_ you need it? In many cases you don't, so I'd love to hear why you absolutely think you need it before I tell you that you should wait for XA to arrive in a production version.
-Mark
Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html