db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chaa...@apache.org
Subject svn commit: r1158368 - in /db/derby/docs/trunk/src: devguide/cdevdvlp40653.dita ref/rrefjdbc32052.dita
Date Tue, 16 Aug 2011 16:54:36 GMT
Author: chaase3
Date: Tue Aug 16 16:54:36 2011
New Revision: 1158368

URL: http://svn.apache.org/viewvc?rev=1158368&view=rev
Log:
DERBY-5384  Reference Guide talks about a DriverManager method which does not exist.

Fixes to 1 Reference Manual and 1 Dev Guide topic.

Patch: DERBY-5384.diff

Modified:
    db/derby/docs/trunk/src/devguide/cdevdvlp40653.dita
    db/derby/docs/trunk/src/ref/rrefjdbc32052.dita

Modified: db/derby/docs/trunk/src/devguide/cdevdvlp40653.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/cdevdvlp40653.dita?rev=1158368&r1=1158367&r2=1158368&view=diff
==============================================================================
--- db/derby/docs/trunk/src/devguide/cdevdvlp40653.dita (original)
+++ db/derby/docs/trunk/src/devguide/cdevdvlp40653.dita Tue Aug 16 16:54:36 2011
@@ -44,7 +44,8 @@ driver, see "java.sql.Driver interface" 
 <p>If your application runs on JDK 6 or higher, you do not need to
 explicitly load the <codeph>EmbeddedDriver</codeph>. In that environment, the
 driver loads automatically.</p>
-<p>If your application shuts down Derby or calls the <i>DriverManager.unload</i>
+<p>If your application shuts down Derby or calls the
+<i>DriverManager.deregisterDriver</i>
 method, and you then want to reload the driver, call the
 <i>Class.forName().newInstance()</i> method.</p>
 </conbody>

Modified: db/derby/docs/trunk/src/ref/rrefjdbc32052.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefjdbc32052.dita?rev=1158368&r1=1158367&r2=1158368&view=diff
==============================================================================
--- db/derby/docs/trunk/src/ref/rrefjdbc32052.dita (original)
+++ db/derby/docs/trunk/src/ref/rrefjdbc32052.dita Tue Aug 16 16:54:36 2011
@@ -40,8 +40,8 @@ when your application asks for its first
 Class.forName("org.apache.derby.jdbc.ClientDriver");</pre>
 <p>The recommended way to load the driver class.</p>
 <p>With the embedded driver, if your application shuts down Derby or calls the
-<i>DriverManager.unload</i> method, and you then want to reload the driver, call
-the <i>Class.forName().newInstance()</i> method to do so:</p>
+<i>DriverManager.deregisterDriver</i> method, and you then want to reload the
+driver, call the <i>Class.forName().newInstance()</i> method to do so:</p>
 <pre>Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();</pre>
 </li>
 <li><pre>new org.apache.derby.jdbc.EmbeddedDriver();



Mime
View raw message