gdamour     2005/01/07 01:37:53

  Modified:    modules/itests/src/ejb/META-INF ejb-jar.xml
  Log:

  Represent some EJBQL progress.

  

  o aggregate functions are now partially supported. At least they do not

  generate parse errors;

  

  o selects are hooked in;

  

  o EJBQL returned types are extracted. This allows:

  * in the case of finders, to check that the returned type is the abstract

  schema type of the owning EJB.

  * in the case of selects, to return the relevant type.

  

  o EJBQL queries use EJB abstract schema names instead of EJB names.

  

  
  Revision  Changes    Path
  1.4       +4 -4      openejb/modules/itests/src/ejb/META-INF/ejb-jar.xml
  
  Index: ejb-jar.xml
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/itests/src/ejb/META-INF/ejb-jar.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ejb-jar.xml       10 Dec 2004 02:02:50 -0000      1.3
  +++ ejb-jar.xml       7 Jan 2005 06:37:53 -0000       1.4
  @@ -329,7 +329,7 @@
                       </method-params>
                   </query-method>
                   <ejb-ql>
  -                <![CDATA[SELECT OBJECT(a) FROM BasicCmp2Bean AS a WHERE 
a.lastName = ?1]]>
  +                <![CDATA[SELECT OBJECT(a) FROM BasicCmp2 AS a WHERE 
a.lastName = ?1]]>
                   </ejb-ql>
               </query>
               <query>
  @@ -338,7 +338,7 @@
                       <method-params/>
                   </query-method>
                   <ejb-ql>
  -                <![CDATA[SELECT OBJECT(a) FROM BasicCmp2Bean AS a WHERE 1 = 
0]]>
  +                <![CDATA[SELECT OBJECT(a) FROM BasicCmp2 AS a WHERE 1 = 0]]>
                   </ejb-ql>
               </query>
           </entity>
  @@ -401,7 +401,7 @@
                       </method-params>
                   </query-method>
                   <ejb-ql>
  -                <![CDATA[SELECT OBJECT(a) FROM AOBasicCmp2Bean AS a WHERE 
a.lastName = ?1]]>
  +                <![CDATA[SELECT OBJECT(a) FROM AOBasicCmp2 AS a WHERE 
a.lastName = ?1]]>
                   </ejb-ql>
               </query>
               <query>
  @@ -410,7 +410,7 @@
                       <method-params/>
                   </query-method>
                   <ejb-ql>
  -                <![CDATA[SELECT OBJECT(a) FROM AOBasicCmp2Bean AS a WHERE 1 
= 0]]>
  +                <![CDATA[SELECT OBJECT(a) FROM AOBasicCmp2 AS a WHERE 1 = 
0]]>
                   </ejb-ql>
               </query>
           </entity>
  
  
  

Reply via email to