[seam-commits] Seam SVN: r7544 - branches/Seam_2_0/doc/reference/en/modules.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Mar 12 08:05:03 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-03-12 08:05:03 -0400 (Wed, 12 Mar 2008)
New Revision: 7544

Modified:
   branches/Seam_2_0/doc/reference/en/modules/testing.xml
Log:
JBSEAM-2234

Modified: branches/Seam_2_0/doc/reference/en/modules/testing.xml
===================================================================
--- branches/Seam_2_0/doc/reference/en/modules/testing.xml	2008-03-12 11:51:38 UTC (rev 7543)
+++ branches/Seam_2_0/doc/reference/en/modules/testing.xml	2008-03-12 12:05:03 UTC (rev 7544)
@@ -456,6 +456,14 @@
               must put a <literal>seam.properties</literal> in each resource.
            </para>
            
+           <para>
+              By default, a generated project will use the 
+              <literal>java:/DefaultDS</literal> (a built in HSQL datasource in
+              Embedded JBoss) for testing. If you want to use another datasource
+              place the <literal>foo-ds.xml</literal> into 
+              <literal>bootstrap/deploy</literal> directory.
+           </para>
+           
          </section>
         
         <section>
@@ -517,6 +525,13 @@
    <![CDATA[<parameter name="datasourceJndiName" value="java:/seamdiscsDatasource"/>]]>
          </programlisting> 
           
+         <para>
+            DBUnitSeamTest only works out of the box with HSQL as a datasource.
+            If you want to use another database, then you'll need to implement
+            some extra methods. Read the javadoc on 
+            <literal>DBUnitSeamTest</literal> for more.
+         </para> 
+          
         </section>
         
         <section id="testing.mail">




More information about the seam-commits mailing list