MySQL Connector/J 5.1 Release Notes
Charsets now automatically detected. Optimized code for single-byte character set conversion.
Fixed RowDataStatic.getAt()
off-by-one bug.
Fixed ResultSet.getRow()
off-by-one bug.
Massive code clean-up to follow Java coding conventions (the time had come).
Implemented ResultSet.getCharacterStream()
.
Added limited Clob
functionality
(ResultSet.getClob()
,
PreparedStatement.setClob()
,
PreparedStatement.setObject(Clob)
.
Connection.isClosed()
no longer
“pings” the server.
Connection.close()
issues
rollback()
when
getAutoCommit()
is false
.
Added socketTimeout
parameter to URL.
Added LOCAL TEMPORARY
to table types in
DatabaseMetaData.getTableTypes()
.
Added paranoid
parameter, which sanitizes
error messages by removing “sensitive” information
from them (such as host names, ports, or user names), as well as
clearing “sensitive” data structures when possible.