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
StringIndexOutOfBoundsException
inPreparedStatement.setClob()
.IOExceptions
during a transaction now cause theConnection
to be closed.Remove synchronization from
Driver.connect()
andDriver.acceptsUrl()
.Fixed missing conversion for
YEAR
type inResultSetMetaData.getColumnTypeName()
.Updatable
ResultSets
can now be created for aliased tables/columns when connected to MySQL-4.1 or newer.Fixed
LOAD DATA LOCAL INFILE
bug when file >max_allowed_packet
.Don't pick up indexes that start with
pri
as 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
SQLExceptions
when trying to do operations on a forcefully closedConnection
(that is, when a communication link failure occurs).