Author: paul
Date: 2006-04-17 22:08:37 +0200 (Mon, 17 Apr 2006)
New Revision: 1844
Log:
r6706@polar: paul | 2006-04-17 12:48:25 -0500
Add markup.
Modified:
trunk/
trunk/refman-common/news-connector-j.xml
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:6700
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:9486
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:4505
+ 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:6706
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:9486
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:4505
Modified: trunk/refman-common/news-connector-j.xml
===================================================================
--- trunk/refman-common/news-connector-j.xml 2006-04-17 17:17:51 UTC (rev 1843)
+++ trunk/refman-common/news-connector-j.xml 2006-04-17 20:08:37 UTC (rev 1844)
@@ -3345,42 +3345,49 @@
<listitem>
<para>
- Fixed BUG#4010 - StringUtils.escapeEasternUnicodeByteStream is
- still broken for GBK
+ <literal>StringUtils.escapeEasternUnicodeByteStream</literal>
+ was still broken for GBK. (Bug #4010)
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#4334 - Failover for autoReconnect not using port #'s
- for any hosts, and not retrying all hosts. (WARN: This
- required a change to the SocketFactory connect() method
- signature, which is now public Socket connect(String host, int
- portNumber, Properties props) therefore any third-party socket
+ Failover for <literal>autoReconnect</literal> not using port
+ numbers for any hosts, and not retrying all hosts.
+ (<emphasis role="bold">Warning</emphasis>: This required a
+ change to the <literal>SocketFactory</literal>
+ <literal>connect()</literal> method signature, which is now
+ <literal>public Socket connect(String host, int portNumber,
+ Properties props)</literal>; therefore, any third-party socket
factories will have to be changed to support this signature.
+ (Bug #4334)
</para>
</listitem>
<listitem>
<para>
- Logical connections created by MysqlConnectionPoolDataSource
- will now issue a rollback() when they are closed and sent back
- to the pool. If your application server/connection pool
- already does this for you, you can set the
- 'rollbackOnPooledClose' property to false to avoid the
- overhead of an extra rollback().
+ Logical connections created by
+ <literal>MysqlConnectionPoolDataSource</literal> will now
+ issue a <literal>rollback()</literal> when they are closed and
+ sent back to the pool. If your application server/connection
+ pool already does this for you, you can set the
+ <literal>rollbackOnPooledClose</literal> property to
+ <literal>false</literal> to avoid the overhead of an extra
+ <literal>rollback()</literal>.
</para>
</listitem>
<listitem>
<para>
- Removed redundant calls to checkRowPos() in ResultSet.
+ Removed redundant calls to <literal>checkRowPos()</literal> in
+ <literal>ResultSet</literal>.
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#4742, 'DOUBLE' mapped twice in DBMD.getTypeInfo().
+ <literal>DOUBLE</literal> mapped twice in
+ <literal>DBMD.getTypeInfo()</literal>. (Bug #4742)
</para>
</listitem>
@@ -3392,56 +3399,67 @@
<listitem>
<para>
- Fixed BUG#4808, calling .close() twice on a PooledConnection
- causes NPE.
+ Calling <literal>.close()</literal> twice on a
+ <literal>PooledConnection</literal> causes NPE. (Bug #4808)
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#4138 and BUG#4860, DBMD.getColumns() returns
- incorrect JDBC type for unsigned columns. This affects type
- mappings for all numeric types in the RSMD.getColumnType() and
- RSMD.getColumnTypeNames() methods as well, to ensure that
- 'like' types from DBMD.getColumns() match up with what
- RSMD.getColumnType() and getColumnTypeNames() return.
+ <literal>DBMD.getColumns()</literal> returns incorrect JDBC
+ type for unsigned columns. This affects type mappings for all
+ numeric types in the <literal>RSMD.getColumnType()</literal>
+ and <literal>RSMD.getColumnTypeNames()</literal> methods as
+ well, to ensure that <quote>like</quote> types from
+ <literal>DBMD.getColumns()</literal> match up with what
+ <literal>RSMD.getColumnType()</literal> and
+ <literal>getColumnTypeNames()</literal> return. (Bug #4138,
+ Bug #4860)
</para>
</listitem>
<listitem>
<para>
- 'Production' - 'GA' in naming scheme of distributions.
+ <quote>Production</quote> is now <quote>GA</quote> (General
+ Availability) in naming scheme of distributions.
</para>
</listitem>
<listitem>
<para>
- Fix for BUG#4880, RSMD.getPrecision() returning 0 for
+ <literal>RSMD.getPrecision()</literal> returning 0 for
non-numeric types (should return max length in chars for
non-binary types, max length in bytes for binary types). This
- fix also fixes mapping of RSMD.getColumnType() and
- RSMD.getColumnTypeName() for the BLOB types based on the
- length sent from the server (the server doesn't distinguish
- between TINYBLOB, BLOB, MEDIUMBLOB or LONGBLOB at the network
- protocol level).
+ fix also fixes mapping of
+ <literal>RSMD.getColumnType()</literal> and
+ <literal>RSMD.getColumnTypeName()</literal> for the
+ <literal>BLOB</literal> types based on the length sent from
+ the server (the server doesn't distinguish between
+ <literal>TINYBLOB</literal>, <literal>BLOB</literal>,
+ <literal>MEDIUMBLOB</literal> or <literal>LONGBLOB</literal>
+ at the network protocol level). (Bug #4880)
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#5022 - ResultSet should release Field[] instance in
- .close().
+ <literal>ResultSet</literal> should release
+ <literal>Field[]</literal> instance in
+ <literal>.close()</literal>. (Bug #5022)
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#5069 -- ResultSet.getMetaData() should not return
+ <literal>ResultSet.getMetaData()</literal> should not return
incorrectly-initialized metadata if the result set has been
- closed, but should instead throw an SQLException. Also fixed
- for getRow() and getWarnings() and traversal methods by
- calling checkClosed() before operating on instance-level
- fields that are nullified during .close().
+ closed, but should instead throw an
+ <literal>SQLException</literal>. Also fixed for
+ <literal>getRow()</literal> and
+ <literal>getWarnings()</literal> and traversal methods by
+ calling <literal>checkClosed()</literal> before operating on
+ instance-level fields that are nullified during
+ <literal>.close()</literal>. (Bug #5069)
</para>
</listitem>
@@ -3453,9 +3471,11 @@
<listitem>
<para>
- Use _binary introducer for PreparedStatement.setBytes() and
- set*Stream() when connected to MySQL-4.1.x or newer to avoid
- misinterpretation during character conversion.
+ Use <literal>_binary</literal> introducer for
+ <literal>PreparedStatement.setBytes()</literal> and
+ <literal>set*Stream()</literal> when connected to MySQL-4.1.x
+ or newer to avoid misinterpretation during character
+ conversion.
</para>
</listitem>
@@ -3471,7 +3491,7 @@
<listitem>
<para>
- Fixed URL parsing error
+ Fixed URL parsing error.
</para>
</listitem>
@@ -3487,22 +3507,22 @@
<listitem>
<para>
- Fixed BUG#3848 - Using a MySQLDatasource without server name
- fails
+ Using a <literal>MySQLDatasource</literal> without server name
+ fails. (Bug #3848)
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#3920 - "No Database Selected" when using
- MysqlConnectionPoolDataSource.
+ <literal>No Database Selected</literal> when using
+ <literal>MysqlConnectionPoolDataSource</literal>. (Bug #3920)
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#3873 - PreparedStatement.getGeneratedKeys() method
- returns only 1 result for batched insertions
+ <literal>PreparedStatement.getGeneratedKeys()</literal> method
+ returns only 1 result for batched insertions. (Bug #3873)
</para>
</listitem>
@@ -3518,25 +3538,27 @@
<listitem>
<para>
- Add unsigned attribute to DatabaseMetaData.getColumns() output
- in the TYPE_NAME column.
+ Add unsigned attribute to
+ <literal>DatabaseMetaData.getColumns()</literal> output in the
+ <literal>TYPE_NAME</literal> column.
</para>
</listitem>
<listitem>
<para>
- Added 'failOverReadOnly' property, to allow end-user to
- configure state of connection (read-only/writable) when failed
- over.
+ Added <literal>failOverReadOnly</literal> property, to allow
+ end-user to configure state of connection (read-only/writable)
+ when failed over.
</para>
</listitem>
<listitem>
<para>
- Backported 'change user' and 'reset server state'
- functionality from 3.1 branch, to allow clients of
- MysqlConnectionPoolDataSource to reset server state on
- getConnection() on a pooled connection.
+ Backported <quote>change user</quote> and <quote>reset server
+ state</quote> functionality from 3.1 branch, to allow clients
+ of <literal>MysqlConnectionPoolDataSource</literal> to reset
+ server state on <literal>getConnection()</literal> on a pooled
+ connection.
</para>
</listitem>
@@ -3548,8 +3570,10 @@
<listitem>
<para>
- Allow 'url' parameter for MysqlDataSource and
- MysqlConnectionPool DataSource so that passing of other
+ Allow <literal>url</literal> parameter for
+ <literal>MysqlDataSource</literal> and
+ <literal>MysqlConnectionPool</literal>
+ <literal>DataSource</literal> so that passing of other
properties is possible from inside appservers.
</para>
</listitem>
@@ -3557,7 +3581,7 @@
<listitem>
<para>
Map duplicate key and foreign key errors to SQLState of
- '23000'.
+ <literal>23000</literal>.
</para>
</listitem>
@@ -3569,95 +3593,106 @@
<listitem>
<para>
- Return creating statement for ResultSets created by
- getGeneratedKeys() (BUG#2957)
+ Return creating statement for <literal>ResultSets</literal>
+ created by <literal>getGeneratedKeys()</literal>. (Bug #2957)
</para>
</listitem>
<listitem>
<para>
- Allow java.util.Date to be sent in as parameter to
- PreparedStatement.setObject(), converting it to a Timestamp to
- maintain full precision (BUG#3103).
+ Allow <literal>java.util.Date</literal> to be sent in as
+ parameter to <literal>PreparedStatement.setObject()</literal>,
+ converting it to a <literal>Timestamp</literal> to maintain
+ full precision. (Bug #103).
</para>
</listitem>
<listitem>
<para>
- Don't truncate BLOBs/CLOBs when using setBytes() and/or
- setBinary/CharacterStream() (BUG#2670).
+ Don't truncate <literal>BLOB</literal> or
+ <literal>CLOB</literal> values when using
+ <literal>setBytes()</literal> and/or
+ <literal>setBinary/CharacterStream()</literal>. (Bug #2670).
</para>
</listitem>
<listitem>
<para>
Dynamically configure character set mappings for field-level
- character sets on MySQL-4.1.0 and newer using 'SHOW COLLATION'
- when connecting.
+ character sets on MySQL-4.1.0 and newer using <literal>SHOW
+ COLLATION</literal> when connecting.
</para>
</listitem>
<listitem>
<para>
- Map 'binary' character set to 'US-ASCII' to support DATETIME
- charset recognition for servers >= 4.1.2
+ Map <literal>binary</literal> character set to
+ <literal>US-ASCII</literal> to support
+ <literal>DATETIME</literal> charset recognition for servers
+ >= 4.1.2.
</para>
</listitem>
<listitem>
<para>
- Use 'SET character_set_results" during initialization to allow
- any charset to be returned to the driver for result sets.
+ Use <literal>SET character_set_results</literal> during
+ initialization to allow any charset to be returned to the
+ driver for result sets.
</para>
</listitem>
<listitem>
<para>
- Use charsetnr returned during connect to encode queries before
- issuing 'SET NAMES' on MySQL >= 4.1.0.
+ Use <literal>charsetnr</literal> returned during connect to
+ encode queries before issuing <literal>SET NAMES</literal> on
+ MySQL >= 4.1.0.
</para>
</listitem>
<listitem>
<para>
- Add helper methods to ResultSetMetaData
- (getColumnCharacterEncoding() and getColumnCharacterSet()) to
- allow end-users to see what charset the driver thinks it
- should be using for the column.
+ Add helper methods to <literal>ResultSetMetaData</literal>
+ (<literal>getColumnCharacterEncoding()</literal> and
+ <literal>getColumnCharacterSet()</literal>) to allow end-users
+ to see what charset the driver thinks it should be using for
+ the column.
</para>
</listitem>
<listitem>
<para>
- Only set character_set_results for MySQL >= 4.1.0.
+ Only set <literal>character_set_results</literal> for MySQL
+ >= 4.1.0.
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#3511, StringUtils.escapeSJISByteStream() not
- covering all eastern double-byte charsets correctly.
+ <literal>StringUtils.escapeSJISByteStream()</literal> not
+ covering all eastern double-byte charsets correctly. (Bug
+ #3511)
</para>
</listitem>
<listitem>
<para>
- Renamed StringUtils.escapeSJISByteStream() to more appropriate
- escapeEasternUnicodeByteStream().
+ Renamed <literal>StringUtils.escapeSJISByteStream()</literal>
+ to more appropriate
+ <literal>escapeEasternUnicodeByteStream()</literal>.
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#3554 - Not specifying database in URL caused
- MalformedURL exception.
+ Not specifying database in URL caused
+ <literal>MalformedURL</literal> exception. (Bug #3554)
</para>
</listitem>
<listitem>
<para>
Auto-convert MySQL encoding names to Java encoding names if
- used for characterEncoding property.
+ used for <literal>characterEncoding</literal> property.
</para>
</listitem>
@@ -3671,43 +3706,46 @@
<listitem>
<para>
- Use junit.textui.TestRunner for all unit tests (to allow them
- to be run from the command line outside of Ant or Eclipse).
+ Use <literal>junit.textui.TestRunner</literal> for all unit
+ tests (to allow them to be run from the command line outside
+ of Ant or Eclipse).
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#3557 - UpdatableResultSet not picking up default
- values for moveToInsertRow().
+ <literal>UpdatableResultSet</literal> not picking up default
+ values for <literal>moveToInsertRow()</literal>. (Bug #3557)
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#3570 - inconsistent reporting of data type. The
- server still doesn't return all types for *BLOBs *TEXT
- correctly, so the driver won't return those correctly.
+ Inconsistent reporting of data type. The server still doesn't
+ return all types for *BLOBs *TEXT correctly, so the driver
+ won't return those correctly. (Bug #3570)
</para>
</listitem>
<listitem>
<para>
- Fixed BUG#3520 -- DBMD.getSQLStateType() returns incorrect
- value.
+ <literal>DBMD.getSQLStateType()</literal> returns incorrect
+ value. (Bug #3520)
</para>
</listitem>
<listitem>
<para>
- Fixed regression in PreparedStatement.setString() and eastern
+ Fixed regression in
+ <literal>PreparedStatement.setString()</literal> and eastern
character encodings.
</para>
</listitem>
<listitem>
<para>
- Made StringRegressionTest 4.1-unicode aware.
+ Made <literal>StringRegressionTest</literal> 4.1-unicode
+ aware.
</para>
</listitem>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r1844 - in trunk: . refman-common | paul | 17 Apr |