jholmes 2002/10/16 12:39:07
Modified: doc/userGuide building_controller.xml
Log:
update "Accessing Relational Databases" section
PR: Bugzilla #13177
Revision Changes Path
1.34 +10 -0 jakarta-struts/doc/userGuide/building_controller.xml
Index: building_controller.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_controller.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- building_controller.xml 13 Oct 2002 15:55:12 -0000 1.33
+++ building_controller.xml 16 Oct 2002 19:39:06 -0000 1.34
@@ -772,6 +772,16 @@
For information on how to retrieve the data source, see the
<a href="building_model.html#databases">Accessing Relational Databases</a>
section.
</p>
+ <p>
+ <i>Note: Since Struts is now using commons-dbcp for all it's
+ data-source needs, the query you provide for the pingQuery
+ attribute must return at least one row.</i><br/>
+ <br/>
+ <b>Example:</b><code>SELECT COUNT(*) FROM VALIDTABLE</code><br/>
+ <br/>
+ Just be sure you to replace "VALIDTABLE" with the name of a valid table in
your database.
+ </p>
+
</section>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>