2011.07.08

MySQL

MySQL Connector/J 5.1.17 がリリースされました

オリジナル版:http://lists.mysql.com/java/9336

バージョン5.1版でのメンテナンスリリースであるMySQL Connector/J 5.1.17が リリースされました。Connector/Jは、MySQL用のタイプ4のpure-Java JDBCドライバです。

バージョン5.1.17は、MySQL-5.1、もしくはMySQL-5.5のMySQLのどのバージョンでも快適に使用できます。

現在、Connector/Jダウンロードページ、およびミラーサイト、そしてMaven-2のリポジトリとMOSからソースとバイナリ形式が入手可能です。

http://dev.mysql.com/downloads/connector/j/5.1.html

いつものことですが、アプリケーションに影響を及ぼす動作変更を把握するためにダウンロードアーカイブの"CHANGE"ファイルをチェックすることをお勧めします。

バグレポート、バグ修正、パッチ等の情報をお待ちしておりますので、以下のページをご利用ください。

http://forge.mysql.com/wiki/Contributing

 

以下は、Connector/J 5.1.15の変更情報です。

  - Fix for Bug#61332 - LIKE not optimized in server when run against I__S tables and no
wildcards used. Databases/tables with "_" and/or "%" in their names (escaped or not)
will be handled by this code path, although slower, since it's rare to find these
characters in table names in SQL. If there's a "_" or "%" in the string, LIKE will
take care of that, otherwise we now use = . The only exception is information_schema
database which is handled separately. Patch covers both getTables() and getColumns().

- Fix for Bug#61150 - First call to stored procedure fails with "No Database Selected".
The workaround introduced in DatabaseMetaData.getCallStmtParameterTypes to fix the
bug in server where SHOW CREATE PROCEDURE was not respecting lower-case table names
is misbehaving when connection is not attached to database and on non-casesensitive
OS.

- Fix for Bug#61105 - Avoid a concurrent bottleneck in Java's character set
encoding/decoding when converting bytes to/from Strings.
* IMPORTANT NOTE *
No longer use String.getBytes(...), or new String(byte[]...), use the StringUtils
method instead.