Bugs fixed:
Allow user to alter behavior of
Statement
/PreparedStatement.executeBatch()
usingcontinueBatchOnError
property (defaults totrue
).More robust escape tokenizer: Recognize
--
comments, and permit nested escape sequences (seetestsuite.EscapeProcessingTest
).Fixed
Buffer.isLastDataPacket()
for 4.1 and newer servers.NamedPipeSocketFactory
now works (only intended for Windows), seeREADME
for instructions.Changed
charsToByte
inSingleByteCharConverter
to 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 theallowLoadLocalInfile
property (see theREADME
).Implemented
Connection.nativeSQL()
.Fixed
ResultSetMetaData.getColumnTypeName()
returningBLOB
forTEXT
andTEXT
forBLOB
types.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_FLAG
to be able to get more column flags (isAutoIncrement()
being the most important).Honor
lower_case_table_names
when enabled in the server when doing table name comparisons inDatabaseMetaData
methods.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
Connection
methods (createStatement
,prepareStatement
,setTransactionIsolation
,setAutoCommit
).Fixed
ResultSetMetaData.getPrecision()
returning incorrect values for some floating-point types.Changed
SingleByteCharConverter
to use lazy initialization of each converter.