Bugs fixed:
Allow user to alter behavior of
Statement/PreparedStatement.executeBatch()usingcontinueBatchOnErrorproperty (defaults totrue).More robust escape tokenizer: Recognize
--comments, and permit nested escape sequences (seetestsuite.EscapeProcessingTest).Fixed
Buffer.isLastDataPacket()for 4.1 and newer servers.NamedPipeSocketFactorynow works (only intended for Windows), seeREADMEfor instructions.Changed
charsToByteinSingleByteCharConverterto be nonstatic.Use nonaliased table/column names and database names to fully qualify tables and columns in
UpdatableResultSet(requires MySQL-4.1 or newer).LOAD DATA LOCAL INFILE ...now works, if your server is configured to permit it. Can be turned off with theallowLoadLocalInfileproperty (see theREADME).Implemented
Connection.nativeSQL().Fixed
ResultSetMetaData.getColumnTypeName()returningBLOBforTEXTandTEXTforBLOBtypes.Fixed charset handling in
Fields.java.Because of above, implemented
ResultSetMetaData.isAutoIncrement()to useField.isAutoIncrement().Substitute
'?'for unknown character conversions in single-byte character sets instead of'\0'.Added
CLIENT_LONG_FLAGto be able to get more column flags (isAutoIncrement()being the most important).Honor
lower_case_table_nameswhen enabled in the server when doing table name comparisons inDatabaseMetaDatamethods.DBMD.getImported/ExportedKeys()now handles multiple foreign keys per table.More robust implementation of updatable result sets. Checks that all primary keys of the table have been selected.
Some MySQL-4.1 protocol support (extended field info from selects).
Check for connection closed in more
Connectionmethods (createStatement,prepareStatement,setTransactionIsolation,setAutoCommit).Fixed
ResultSetMetaData.getPrecision()returning incorrect values for some floating-point types.Changed
SingleByteCharConverterto use lazy initialization of each converter.