MySQL Connector/J Release Notes  /  Changes in MySQL Connector/J 3.0  /  Changes in MySQL Connector/J 3.0.3 (2002-12-17)

Changes in MySQL Connector/J 3.0.3 (2002-12-17)

Bugs Fixed

  • Substitute '?' for unknown character conversions in single-byte character sets instead of '\0'.

  • More robust implementation of updatable result sets. Checks that all primary keys of the table have been selected.

  • LOAD DATA LOCAL INFILE ... now works, if your server is configured to permit it. Can be turned off with the allowLoadLocalInfile property (see the README).

  • Honor lower_case_table_names when enabled in the server when doing table name comparisons in DatabaseMetaData methods.

  • Check for connection closed in more Connection methods (createStatement, prepareStatement, setTransactionIsolation, setAutoCommit).

  • Changed SingleByteCharConverter to use lazy initialization of each converter.

  • Some MySQL-4.1 protocol support (extended field info from selects).

  • Added CLIENT_LONG_FLAG to be able to get more column flags (isAutoIncrement() being the most important).

  • Fixed ResultSetMetaData.getPrecision() returning incorrect values for some floating-point types.

  • Fixed ResultSetMetaData.getColumnTypeName() returning BLOB for TEXT and TEXT for BLOB types.

  • Because of above, implemented ResultSetMetaData.isAutoIncrement() to use Field.isAutoIncrement().

  • Implemented Connection.nativeSQL().

  • Fixed Buffer.isLastDataPacket() for 4.1 and newer servers.

  • Use nonaliased table/column names and database names to fully qualify tables and columns in UpdatableResultSet (requires MySQL-4.1 or newer).

  • Fixed charset handling in

  • More robust escape tokenizer: Recognize -- comments, and permit nested escape sequences (see testsuite.EscapeProcessingTest).

  • Changed charsToByte in SingleByteCharConverter to be nonstatic.

  • NamedPipeSocketFactory now works (only intended for Windows), see README for instructions.

  • DBMD.getImported/ExportedKeys() now handles multiple foreign keys per table.

  • Allow user to alter behavior of Statement/ PreparedStatement.executeBatch() using continueBatchOnError property (defaults to true).

Download these Release Notes
PDF (US Ltr) - 482.1Kb
PDF (A4) - 482.3Kb
EPUB - 127.7Kb