Bugs fixed:
Fixed charset issues with database metadata (charset was not getting set correctly).
You can now toggle profiling on/off using
Connection.setProfileSql(boolean).4.1 Column Metadata fixes.
Fixed
MysqlPooledConnection.close()calling wrong event type.Fixed
StringIndexOutOfBoundsExceptioninPreparedStatement.setClob().IOExceptionsduring a transaction now cause theConnectionto be closed.Remove synchronization from
Driver.connect()andDriver.acceptsUrl().Fixed missing conversion for
YEARtype inResultSetMetaData.getColumnTypeName().Updatable
ResultSetscan now be created for aliased tables/columns when connected to MySQL-4.1 or newer.Fixed
LOAD DATA LOCAL INFILEbug when file >max_allowed_packet.Don't pick up indexes that start with
prias primary keys forDBMD.getPrimaryKeys().Ensure that packet size from
alignPacketSize()does not exceedmax_allowed_packet(JVM bug)Don't reset
Connection.isReadOnly()when autoReconnecting.Fixed escaping of 0x5c (
'\') character for GBK and Big5 charsets.Fixed
ResultSet.getTimestamp()when underlying field is of typeDATE.Throw
SQLExceptionswhen trying to do operations on a forcefully closedConnection(that is, when a communication link failure occurs).