dain 2006/02/01 06:50:15
Modified: modules/openejb-builder/src/test-cmp/manytomany/simplepk
ejb-jar.xml
Log:
Major refactor
Split container into an object to represent a deployed ejb and a set of
shared containers which process invocations
Introduced interface between CMP container and CMP engine
Revision Changes Path
1.4 +11 -0
openejb/modules/openejb-builder/src/test-cmp/manytomany/simplepk/ejb-jar.xml
Index: ejb-jar.xml
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test-cmp/manytomany/simplepk/ejb-jar.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ejb-jar.xml 10 Sep 2005 14:49:08 -0000 1.3
+++ ejb-jar.xml 1 Feb 2006 11:50:15 -0000 1.4
@@ -24,6 +24,16 @@
<field-name>field2</field-name>
</cmp-field>
<primkey-field>field1</primkey-field>
+ <query>
+ <!-- CompondPK one-to-many shares the local home interface
so we need to declare this useless finder -->
+ <query-method>
+ <method-name>findByPrimaryKey</method-name>
+ <method-params>
+
<method-param>org.openejb.deployment.entity.cmp.cmr.CompoundPK</method-param>
+ </method-params>
+ </query-method>
+ <ejb-ql>SELECT OBJECT(A) FROM manytomanyA A</ejb-ql>
+ </query>
</entity>
<entity>
<ejb-name>B</ejb-name>
@@ -32,6 +42,7 @@
<ejb-class>org.openejb.deployment.entity.cmp.cmr.manytomany.BBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
+ <reentrant>false</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>manytomanyB</abstract-schema-name>
<cmp-field>