db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r793658 - /db/derby/docs/branches/10.5/src/devguide/tdevdvlp40464.dita
Date Mon, 13 Jul 2009 18:43:44 GMT
Author: kmarsden
Date: Mon Jul 13 18:43:44 2009
New Revision: 793658

URL: http://svn.apache.org/viewvc?rev=793658&view=rev
Log:
DERBY-4165 Document the effect of shutdown on in progress transactions and open connections.

Modified:
    db/derby/docs/branches/10.5/src/devguide/tdevdvlp40464.dita

Modified: db/derby/docs/branches/10.5/src/devguide/tdevdvlp40464.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.5/src/devguide/tdevdvlp40464.dita?rev=793658&r1=793657&r2=793658&view=diff
==============================================================================
--- db/derby/docs/branches/10.5/src/devguide/tdevdvlp40464.dita (original)
+++ db/derby/docs/branches/10.5/src/devguide/tdevdvlp40464.dita Mon Jul 13 18:43:44 2009
@@ -52,7 +52,15 @@
 <codeblock><b>// shutting down an authenticated database as database owner</b>
 DriverManager.getConnection(
     "jdbc:derby:securesample;user=joeowner;password=secret;shutdown=true");</codeblock>
-
+<p>
+<note type="attention"> 
+It is good practice to close existing connections before shutting down 
+the system or database. Connections created before the shutdown will not 
+be usable after shutdown is performed.  Attempting to access  connections 
+after shutdown may cause errors including instances of 
+<codeph>NullPointerException</codeph> or protocol violations. 
+</note>
+</p>
 </context>
 </taskbody>
 </task>



Mime
View raw message