[seam-commits] Seam SVN: r7565 - branches/Seam_2_0/doc/Seam_Reference_Guide/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Mar 13 09:51:57 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-03-13 09:51:57 -0400 (Thu, 13 Mar 2008)
New Revision: 7565

Modified:
   branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Testing.xml
Log:
JBSEAM-2234

Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Testing.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Testing.xml	2008-03-13 13:43:58 UTC (rev 7564)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Testing.xml	2008-03-13 13:51:57 UTC (rev 7565)
@@ -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>
@@ -570,6 +578,13 @@
          <programlisting>
    <![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>
         




More information about the seam-commits mailing list