Author: tbedford
Date: 2010-10-13 13:36:10 +0200 (Wed, 13 Oct 2010)
New Revision: 23119
Log:
Added note that setCatalog() should always be used instead of USE database.
Modified:
trunk/refman-common/connector-j.xml
Modified: trunk/refman-common/connector-j.xml
===================================================================
--- trunk/refman-common/connector-j.xml 2010-10-13 11:27:49 UTC (rev 23118)
+++ trunk/refman-common/connector-j.xml 2010-10-13 11:36:10 UTC (rev 23119)
Changed blocks: 1, Lines Added: 9, Lines Deleted: 0; 781 bytes
@@ -1141,6 +1141,15 @@
GUI database managers.
</para>
+ <note>
+ <para>
+ JDBC clients should never employ the <literal>USE
+ database</literal> statement to specify the desired database,
+ they should always use the
+ <literal>Connection.setCatalog()</literal> method instead.
+ </para>
+ </note>
+
<para>
MySQL Connector/J has fail-over support. This enables the driver
to fail-over to any number of slave hosts and still perform
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r23119 - trunk/refman-common | tony.bedford | 13 Oct |