[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Tue Jun 26 19:46:34 EDT 2007
User: gavin
Date: 07/06/26 19:46:34
Modified: doc/reference/en/modules configuration.xml
Log:
doc direct refs
Revision Changes Path
1.57 +7 -1 jboss-seam/doc/reference/en/modules/configuration.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: configuration.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/configuration.xml,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- configuration.xml 26 Jun 2007 23:36:27 -0000 1.56
+++ configuration.xml 26 Jun 2007 23:46:34 -0000 1.57
@@ -522,6 +522,9 @@
<para> You will also need to configure a <emphasis>managed session</emphasis> if you want a Seam managed
Hibernate <literal>Session</literal> to be available via injection. </para>
+ <programlisting><![CDATA[<persistence:managed-hibernate-session name="hibernateSessionFactory"
+ session-factory="#{hibernateSessionFactory}"/>]]></programlisting>
+
</sect2>
<sect2>
@@ -532,9 +535,12 @@
<programlisting><![CDATA[<persistence:entity-manager-factory name="entityManagerFactory"/>]]></programlisting>
- <para> You will also need to configure a <emphasis>managed persistencece context</emphasis> if you want a
+ <para> You will also need to configure a <emphasis>managed persistence context</emphasis> if you want a
Seam managed JPA <literal>EntityManager</literal> to be available via injection. </para>
+ <programlisting><![CDATA[<persistence:managed-persistence-context name="entityManager"
+ session-factory="#{entityManagerFactory}"/>]]></programlisting>
+
</sect2>
<sect2>
More information about the jboss-cvs-commits
mailing list