ammulder    2005/12/04 21:49:12

  Modified:    modules/itests/src/cmp2/cmrmapping ejb-jar.xml
  Log:

  Add a select test.
  I've kind of forgotten why I originally did this -- it was to
    demonstrate some bug which turned out to be not a bug or at
    least, not the bug I thought it was.  But hey, one more test
    can't hurt, right?
  
  Revision  Changes    Path
  1.2       +9 -0      openejb/modules/itests/src/cmp2/cmrmapping/ejb-jar.xml
  
  Index: ejb-jar.xml
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/itests/src/cmp2/cmrmapping/ejb-jar.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ejb-jar.xml       20 Aug 2005 03:49:06 -0000      1.1
  +++ ejb-jar.xml       5 Dec 2005 02:49:12 -0000       1.2
  @@ -47,6 +47,15 @@
               <abstract-schema-name>Order</abstract-schema-name>
               <cmp-field><field-name>id</field-name></cmp-field>
               <cmp-field><field-name>field1</field-name></cmp-field>
  +            <query>
  +                <query-method>
  +                    <method-name>ejbSelectSomething</method-name>
  +                    <method-params>
  +                        <method-param>java.lang.Integer</method-param>
  +                    </method-params>
  +                </query-method>
  +                <ejb-ql>SELECT m.oneInverseSide FROM Order m WHERE m.id = 
?1</ejb-ql>
  +            </query>
           </entity>
   
           <session>
  
  
  

Reply via email to