[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Peter Muir
peter at bleepbleep.org.uk
Tue Oct 2 11:57:09 EDT 2007
User: pmuir
Date: 07/10/02 11:57:09
Modified: doc/reference/en/modules persistence.xml
Log:
JBSEAM-1900
Revision Changes Path
1.16 +8 -2 jboss-seam/doc/reference/en/modules/persistence.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: persistence.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/persistence.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- persistence.xml 3 Sep 2007 16:59:45 -0000 1.15
+++ persistence.xml 2 Oct 2007 15:57:09 -0000 1.16
@@ -187,8 +187,7 @@
<para>
Seam provides a transaction management abstraction for beginning, committing, rolling back, and
synchronizing with a transaction. By default Seam uses a JTA transaction component that integrates with
- Container Managed and programmatic EJB transactions. If JTA is not available then Seam will disable
- Seam-managed transactions unless an alternative transaction component is configured.
+ Container Managed and programmatic EJB transactions.
</para>
<para>
Out of the box Seam provides transaction components for the following additional transaction APIs:
@@ -209,6 +208,9 @@
<literal>org.springframework.transaction.PlatformTransactionManager</literal>
interface.
</listitem>
+ <listitem>
+ Explicitly disable Seam managed transactions
+ </listitem>
</itemizedlist>
<para>
Configure JPA RESOURCE_LOCAL transaction management by adding the following to your components.xml where
@@ -231,6 +233,10 @@
</para>
<programlisting><![CDATA[<transaction:hibernate-transaction session="#{hiberanteSession}"/>]]></programlisting>
<para>
+ To explicitly disable Seam managed transactions declare the following in your components.xml:
+ </para>
+ <programlisting><![CDATA[<transaction:no-transaction />]]></programlisting>
+ <para>
For configuring Spring managed transactions see
<link linkend="spring-transactions">using Spring PlatformTransactionManagement</link>
.
More information about the jboss-cvs-commits
mailing list