[seam-commits] Seam SVN: r11397 - branches/community/Seam_2_2/seam-gen/resources/WEB-INF.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Aug 18 07:36:14 EDT 2009
Author: pete.muir at jboss.org
Date: 2009-08-18 07:36:14 -0400 (Tue, 18 Aug 2009)
New Revision: 11397
Modified:
branches/community/Seam_2_2/seam-gen/resources/WEB-INF/components-war.xml
Log:
JBDS-828, JBSEAM-4276
Modified: branches/community/Seam_2_2/seam-gen/resources/WEB-INF/components-war.xml
===================================================================
--- branches/community/Seam_2_2/seam-gen/resources/WEB-INF/components-war.xml 2009-08-18 07:54:50 UTC (rev 11396)
+++ branches/community/Seam_2_2/seam-gen/resources/WEB-INF/components-war.xml 2009-08-18 11:36:14 UTC (rev 11397)
@@ -28,12 +28,15 @@
<!-- Make sure this URL pattern is the same as that used by the Faces Servlet -->
<web:hot-deploy-filter url-pattern="*.seam"/>
- <!-- If you are still using JBoss 4, uncomment this to have you PU started -->
+ <!-- If you are still using JBoss 4, uncomment this to have your PU started -->
<!-- <persistence:entity-manager-factory name="entityManagerFactory"-->
<!-- persistence-unit-name="@projectName@"/>-->
+ <!-- If you are still using JBoss 4, uncomment this to have the entityManagerFactory ysed -->
+<!-- <persistence:managed-persistence-context name="entityManager" auto-create="true"-->
+<!-- entity-manager-factory="#{entityManagerFactory}"/>-->
<persistence:managed-persistence-context name="entityManager" auto-create="true"
- entity-manager-factory="#{entityManagerFactory}"/>
+ persistence-unit-jndi-name="@projectName@"/>
<drools:rule-base name="securityRules">
<drools:rule-files><value>/security.drl</value></drools:rule-files>
More information about the seam-commits
mailing list