[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Peter Muir peter at bleepbleep.org.uk
Thu Nov 1 10:07:51 EDT 2007


  User: pmuir   
  Date: 07/11/01 10:07:51

  Modified:    doc/reference/en/modules  testing.xml
  Log:
  Note on JPA usage in test
  
  Revision  Changes    Path
  1.23      +8 -0      jboss-seam/doc/reference/en/modules/testing.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: testing.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/testing.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- testing.xml	1 Nov 2007 13:58:42 -0000	1.22
  +++ testing.xml	1 Nov 2007 14:07:51 -0000	1.23
  @@ -112,6 +112,14 @@
   ]]></programlisting>
   
           <para>
  +            The Java Persistence API can be used with both Java SE and Java EE &#8212; 
  +            when the above component is used inside an Application Server (Java 
  +            EE) the container is responsible for transaction management, however 
  +            in the unit test (Java SE) the transaction must be managed 
  +            explicitly using a resource local entity manager. This requires
  +            configuration in <literal>persistence.xml</literal>.
  +       </para>
  +       <para>    
               Seam components don't usually depend directly upon container infrastructure,
               so most unit testing as as easy as that!
           </para>
  
  
  



More information about the jboss-cvs-commits mailing list