geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r508355 - /geronimo/server/trunk/testsuite/enterprise-testsuite/jpa-tests/jpa-ejb/src/main/resources/META-INF/ejb-jar.xml
Date Fri, 16 Feb 2007 09:26:53 GMT
Author: djencks
Date: Fri Feb 16 01:26:52 2007
New Revision: 508355

URL: http://svn.apache.org/viewvc?view=rev&rev=508355
Log:
we have ee5 now so the persistence-*-refs can go in ejb-jar.xml

Modified:
    geronimo/server/trunk/testsuite/enterprise-testsuite/jpa-tests/jpa-ejb/src/main/resources/META-INF/ejb-jar.xml

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/jpa-tests/jpa-ejb/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/jpa-tests/jpa-ejb/src/main/resources/META-INF/ejb-jar.xml?view=diff&rev=508355&r1=508354&r2=508355
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/jpa-tests/jpa-ejb/src/main/resources/META-INF/ejb-jar.xml
(original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/jpa-tests/jpa-ejb/src/main/resources/META-INF/ejb-jar.xml
Fri Feb 16 01:26:52 2007
@@ -30,6 +30,15 @@
             <ejb-class>org.apache.geronimo.itest.TestSessionBean</ejb-class>
             <session-type>Stateless</session-type>
             <transaction-type>Container</transaction-type>
+            <persistence-context-ref>
+                <persistence-context-ref-name>jpa/test</persistence-context-ref-name>
+                <persistence-unit-name>test-unit</persistence-unit-name>
+                <persistence-context-type>Transactional</persistence-context-type>
+            </persistence-context-ref>
+            <persistence-unit-ref>
+                <persistence-unit-ref-name>jpa/testEMF</persistence-unit-ref-name>
+                <persistence-unit-name>test-unit</persistence-unit-name>
+            </persistence-unit-ref>
         </session>
     </enterprise-beans>
 </ejb-jar>



Mime
View raw message