Newsletters older than 6 months may have links that are out of date. Please use the Search to check for updated links.
MySQL Connector/J 3.0.8, a new version of the Type-IV all-Java JDBC driver for MySQL has been released.
It is now available in source and binary form from the Connector/J download pages at http://www.mysql.com/downloads/api-jdbc-stable.html (http://www.mysql.com/downloads/api-jdbc-stable.html) and mirror sites.
Note that not all mirror sites may be up to date at this point of time - if you can't find this version on some mirror, please try again later or choose another download site.
- From the changelog:
- Allow bogus URLs in Driver.getPropertyInfo().
- Return list of generated keys when using multi-value INSERTS with Statement.getGeneratedKeys().
- Use JVM charset with filenames and 'LOAD DATA [LOCAL] INFILE'
- Fix infinite loop with Connection.cleanup().
- Changed Ant target 'compile-core' to 'compile-driver', and made testsuite compilation a separate target.
- Fixed result set not getting set for Statement.executeUpdate(), which affected getGeneratedKeys() and getUpdateCount() in some cases.
- Unicode character 0xFFFF in a string would cause the driver to throw an ArrayOutOfBoundsException (Bug #378)
- Return correct amount of generated keys when using 'REPLACE' statements.
- Fix problem detecting server character set in some cases.
- Fix row data decoding error when using _very_ large packets.
- Optimized row data decoding.
- Issue exception when operating on an already-closed prepared statement.
- Fixed SJIS encoding bug, thanks to Naoto Sato.
- Optimized usage of EscapeProcessor.
- Fixed numbering of KEY_SEQ column in DBMD.getImported/Exported keys (thanks to Dave Schoorl).
- Allow multiple calls to Statement.close()
- Use hex escaping for PreparedStatement.setBytes()/setBinaryStream() when the character set is Shift_JIS, workaround for parsing bug in server.
- Added whitespace insensitivity to EscapeProcessor.