Bugs fixed:
Enable caching of the parsing stage of prepared statements using the
cachePrepStmts,prepStmtCacheSize, andprepStmtCacheSqlLimitproperties (disabled by default). (Bug#2006)Fixed security exception when used in Applets (applets can't read the system property
file.encodingwhich is needed forLOAD DATA LOCAL INFILE). (Bug#2006)Speed up parsing of
PreparedStatements, try to use one-pass whenever possible. (Bug#2006)Fixed exception
Unknown character set 'danish'on connect with JDK-1.4.0 (Bug#2006)Fixed mappings in SQLError to report deadlocks with SQLStates of
41000. (Bug#2006)Removed static synchronization bottleneck from instance factory method of
SingleByteCharsetConverter. (Bug#2006)Removed static synchronization bottleneck from
PreparedStatement.setTimestamp(). (Bug#2006)ResultSet.findColumn()should use first matching column name when there are duplicate column names inSELECTquery (JDBC-compliance). (Bug#2006)maxRowsproperty would affect internal statements, so check it for all statement creation internal to the driver, and set to 0 when it is not. (Bug#2006)Use constants for SQLStates. (Bug#2006)
Map charset
ko18_rutoko18rwhen connected to MySQL-4.1.0 or newer. (Bug#2006)Ensure that
Buffer.writeString()saves room for the\0. (Bug#2006)ArrayIndexOutOfBoundswhen parameter number == number of parameters + 1. (Bug#1958)Connection property
maxRowsnot honored. (Bug#1933)Statements being created too many times in
DBMD.extractForeignKeyFromCreateTable(). (Bug#1925)Support escape sequence {fn convert ... }. (Bug#1914)
Implement
ResultSet.updateClob(). (Bug#1913)Autoreconnect code didn't set catalog upon reconnect if it had been changed. (Bug#1913)
ResultSet.getObject()onTINYINTandSMALLINTcolumns should return Java typeInteger. (Bug#1913)Added more descriptive error message
Server Configuration Denies Access to DataSource, as well as retrieval of message from server. (Bug#1913)ResultSetMetaData.isCaseSensitive()returned wrong value forCHAR/VARCHARcolumns. (Bug#1913)Added
alwaysClearStreamconnection property, which causes the driver to always empty any remaining data on the input stream before each query. (Bug#1913)DatabaseMetaData.getSystemFunction()returning bad functionVResultsSion. (Bug#1775)Foreign Keys column sequence is not consistent in
DatabaseMetaData.getImported/Exported/CrossReference(). (Bug#1731)Fix for
ArrayIndexOutOfBoundsexception when usingStatement.setMaxRows(). (Bug#1695)Subsequent call to
ResultSet.updateFoo()causes NPE if result set is not updatable. (Bug#1630)Fix for 4.1.1-style authentication with no password. (Bug#1630)
Cross-database updatable result sets are not checked for updatability correctly. (Bug#1592)
DatabaseMetaData.getColumns()should returnTypes.LONGVARCHARfor MySQLLONGTEXTtype. (Bug#1592)Fixed regression of
Statement.getGeneratedKeys()andREPLACEstatements. (Bug#1576)Barge blobs and split packets not being read correctly. (Bug#1576)
Backported fix for aliased tables and
UpdatableResultSetsincheckUpdatability()method from 3.1 branch. (Bug#1534)“Friendlier” exception message for
PacketTooLargeException. (Bug#1534)Don't count quoted IDs when inside a 'string' in
PreparedStatementparsing. (Bug#1511)