MySQL A.B. has released
MySQL Connector/J 5.0.8 and 5.1.5, the Type-IV all-Java JDBC
driver for MySQL that's "suitable for use with any MySQL version including MySQL-4.1, MySQL-5.0, MySQL-5.1 beta or the MySQL-6.0 Falcon development releases."
5.0.8 fixes bugs. 5.1.5 adds support for JDBC 4.0 including:
- auto-registration with the DriverManager via the service provider mechanism
- standardized Connection validity checks
- categorized SQLExceptions based on recoverability/retry-ability and class of the underlying error.
- JDBC-4.0 standardized unwrapping to interfaces that include vendor extensions.
- JDBC-4.0 XML processing via JAXP interfaces to DOM, SAX and StAX.
- JDBC-4.0 NCHAR, NVARCHAR and NCLOB types