We‘re changing the version number on all connectivity libraries at MySQL (ODBC, ADO.Net, JDBC) to match the latest version of the server they work with, so the “next“ version of Connector/J will be 5.0.0.
5.0.0 should be released in the next week or so, but if you want to try out XA (the major new feature that it includes), head on over to http://downloads.mysql.com/snapshots.php#connector-j
The 5.0.x series of Connector/J is really the latest 3.1 with XA and support for server-side cursor-based row fetching backported into it, so it should progress to “stable“ quite quickly.
Connector/J 5.0 also has a neat feature in that you can integrate it with Connector/MXJ (the JMX and/or POJO object wrapper for MySQL server) as simply as putting the .jar for Connector/MXJ and the .jar for the JDBC driver in your classpath, and using “jdbc:mysql:mxj://“ for your URL prefix. That feature, in combination with the …
[Read more]