|
MySQL最新 JDBC的驱动 MySQL Connector/J 5.1.0 alpha 【20070413】发布了。
它适合与MySQL的4.1/5.0/5.1beta及5.2预览版数据库。
下载地址:
http://dev.mysql.com/downloads/connector/j/5.1.html
版本更新日志:
http://dev.mysql.com/doc/refman/5.0/en/cj-news.html
http://dev.mysql.com/doc/refman/5.0/en/cj-upgrading.html
新特性:
MySQL Connector/J 5.1.0 includes the following new features:
* JDBC-4.0 ease-of-development features including auto-registration with the DriverManager via the service provider mechanism, standardized Connection validity checks and categorized SQLExceptions based on recoverability/retry-ability and class of the underlying error.
* JDBC-4.0 standardized unwrapping to interfaces that include vendor extensions
* Support for JDBC-4.0 XML processing via JAXP interfaces to DOM, SAX and StAX
* JDBC-4.0 support for setting per-connection client information (which can be viewed in the comments section of a query via "SHOW PROCESSLIST" on a MySQL server, or can be extended to support custom persistence of the information via a public interface)
* Support for JDBC-4.0 NCHAR, NVARCHAR and NCLOB types
* The driver will automatically adjust the server session variable "net_write_timeout" when it determines its been asked for a "streaming"
result, and resets it to the previous value when the result set has been consumed. (The configuration property is named "netTimeoutForStreamingResults", with a unit of seconds, the value '0' means the driver will not try and adjust this value). |
|