dain 2006/02/01 06:50:15
Modified: modules/openejb-builder/src/test-cmp/manytomany/compoundpk
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.3 +10 -0
openejb/modules/openejb-builder/src/test-cmp/manytomany/compoundpk/ejb-jar.xml
Index: ejb-jar.xml
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test-cmp/manytomany/compoundpk/ejb-jar.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ejb-jar.xml 10 Sep 2005 14:49:08 -0000 1.2
+++ ejb-jar.xml 1 Feb 2006 11:50:15 -0000 1.3
@@ -23,6 +23,16 @@
<cmp-field>
<field-name>field2</field-name>
</cmp-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>java.lang.Integer</method-param>
+ </method-params>
+ </query-method>
+ <ejb-ql>SELECT OBJECT(A) FROM manytomanyA A</ejb-ql>
+ </query>
</entity>
<entity>
<ejb-name>B</ejb-name>