Author: mmatthews
Date: 2006-05-26 16:55:18 +0200 (Fri, 26 May 2006)
New Revision: 2212
Log:
Added changelogs and release date for Connector/J 3.1.13
Modified:
trunk/refman-common/news-connector-j.xml
trunk/refman-common/titles.en.ent
Modified: trunk/refman-common/news-connector-j.xml
===================================================================
--- trunk/refman-common/news-connector-j.xml 2006-05-26 14:30:54 UTC (rev 2211)
+++ trunk/refman-common/news-connector-j.xml 2006-05-26 14:55:18 UTC (rev 2212)
@@ -260,7 +260,188 @@
<literal>BIT</literal>. (Bug #15854)
</para>
</listitem>
+ <listitem>
+ <para>
+
+ Fixed issue where driver was unable to initialize character set mapping tables.
+ Removed reliance on <literal>.properties</literal> files to hold this information, as it
+ turns out to be too problematic to code around class loader hierarchies
+ that change depending on how an application is deployed. Moved information
+ back into the <literal>CharsetMapping</literal> class. (Bug #14938)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Fixed updatable result set doesn't return <literal>AUTO_INCREMENT</literal>
+ values for <literal>insertRow()</literal> when multiple column primary keys are used. (the
+ driver was checking for the existence of single-column primary keys and
+ an autoincrement value > 0 instead of a straightforward <literal>isAutoIncrement()</literal>
+ check). (Bug #16841)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed <literal>Statement.getGeneratedKeys()</literal> throws <literal>NullPointerException</literal>
+ when no query has been processed. (Bug #17099)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed driver trying to call methods that don't exist on older and
+ newer versions of Log4j. The fix is not trying to auto-detect presense of log4j,
+ too many different incompatible versions out there in the wild to do this reliably. (Bug #13469)
+ </para>
+
+ <para>
+ If you relied on autodetection before, you will need to add
+ "logger=com.mysql.jdbc.log.Log4JLogger" to your JDBC URL to enable Log4J usage,
+ or alternatively use the new "CommonsLogger" class to take care of this.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Added support for Apache Commons logging, use "com.mysql.jdbc.log.CommonsLogger"
+ as the value for the "logger" configuration property.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ LogFactory now prepends "com.mysql.jdbc.log" to log class name if it can't be
+ found as-specified. This allows you to use "short names" for the built-in log
+ factories, for example "logger=CommonsLogger" instead of
+ "logger=com.mysql.jdbc.log.CommonsLogger".
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed issue with <literal>ReplicationConnection</literal> incorrectly copying state,
+ doesn't transfer connection context correctly when transitioning between
+ the same read-only states. (Bug #15570)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed issue where server-side prepared statements don't cause
+ truncation exceptions to be thrown when truncation happens. (Bug #18041)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Added performance feature, re-writing of batched executes for
+ <literal>Statement.executeBatch()</literal> (for all DML statements) and
+ <literal>PreparedStatement.executeBatch()</literal> (for INSERTs with VALUE clauses
+ only). Enable by using "rewriteBatchedStatements=true" in your JDBC URL.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed <literal>CallableStatement.registerOutParameter()</literal> not working when some
+ parameters pre-populated. Still waiting for feedback from JDBC experts
+ group to determine what correct parameter count from <literal>getMetaData()</literal>
+ should be, however. (Bug #17898)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed calling <literal>clearParameters()</literal> on a closed prepared statement
+ causes NPE. (Bug #17587)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Map "latin1" on MySQL server to CP1252 for MySQL > 4.1.0.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Added additional accessor and mutator methods on ConnectionProperties
+ so that DataSource users can use same naming as regular URL properties.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed data truncation and <literal>getWarnings()</literal> only returns last
+ warning in set. (Bug #18740)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Improved performance of retrieving <literal>BigDecimal</literal>, <literal>Time</literal>,
+<literal>Timestamp</literal> and <literal>Date</literal>
+ values from server-side prepared statements by creating fewer short-lived
+ instances of <literal>Strings</literal> when the native type is not an exact match for
+ the requested type. Fixes Bug #18496 for <literal>BigDecimals</literal>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed aliased column names where length of name > 251
+ are corrupted. (Bug #18554)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed <literal>ResultSet.wasNull()</literal> not always reset
+ correctly for booleans when done via conversion for server-side
+ prepared statements. (Bug #17450)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed invalid classname returned for
+ <literal>ResultSetMetaData.getColumnClassName()</literal> for <literal>BIGINT type</literal>. (Bug
+#19282)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed case where driver wasn't reading server status correctly when
+ fetching server-side prepared statement rows, which in some cases
+ could cause warning counts to be off, or multiple result sets to not
+ be read off the wire.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Driver now aware of fix for <literal>BIT</literal> type metadata that went into
+ MySQL-5.0.21 for server not reporting length consistently (Bug #13601).
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ <literal>Fixed PreparedStatement.setObject(int, Object, int)</literal>
+ doesn't respect scale of BigDecimals. (Bug #19615)
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Fixed <literal>ResultSet.wasNull()</literal> returns incorrect value
+ when extracting native string from server-side prepared statement
+ generated result set. (Bug #19282)
+ </para>
+ </listitem>
+
</itemizedlist>
</section>
Modified: trunk/refman-common/titles.en.ent
===================================================================
--- trunk/refman-common/titles.en.ent 2006-05-26 14:30:54 UTC (rev 2211)
+++ trunk/refman-common/titles.en.ent 2006-05-26 14:55:18 UTC (rev 2212)
@@ -255,7 +255,7 @@
<!ENTITY title-cj-news-3-1-10 "Changes in MySQL Connector/J 3.1.10-stable (23 June 2005)">
<!ENTITY title-cj-news-3-1-11 "Changes in MySQL Connector/J 3.1.11-stable (07 October 2005)">
<!ENTITY title-cj-news-3-1-12 "Changes in MySQL Connector/J 3.1.12 (30 November 2005)">
-<!ENTITY title-cj-news-3-1-13 "Changes in MySQL Connector/J 3.1.13 (xx xxx 2005)">
+<!ENTITY title-cj-news-3-1-13 "Changes in MySQL Connector/J 3.1.13 (26 May 2006)">
<!ENTITY title-cj-news-5-0-0 "Changes in MySQL Connector/J 5.0.0-beta (22 December 2005)">
<!ENTITY title-cj-replication-connection "Using Master/Slave Replication with ReplicationConnection">
<!ENTITY title-cj-reporting-bugs "How to Report Connector/J Bugs or Problems">
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r2212 - trunk/refman-common | mmatthews | 26 May |