[sorry-- I accidently sent this out [before I finished editing it. Here [is my intended message...]

hello...

I would like to create a finder method like this:

<query>
  <query-method>
    <method-name>findByOids</method-name>
    <method-params>
      <method-param>java.util.Collection</method-param>
    </method-params>
  </query-method>
  <ejb-ql>SELECT OBJECT( sku )
              FROM Sku AS sku
             WHERE sku.pk MEMBER OF ?1
  </ejb-ql>
</query>

Is this possible?

We are using JBoss 3.0.4,

From what I understand, this may only be possible, using EJB-QL, if we are on CMP 2.1, i.e., JBoss 3.2.
I do not know if this is infact the case.


Someone suggested that I need to use JBossQL, but I can't find any info on it, including in the paid docs. (Admin and Dev guide).

Per the DTD, I tried changing <ejb-ql> to <jboss-ql>, and moving the whole <query> to jbosscmp-jdbc.xml. No luck.

Does anyone know how I can do this, or where I can find info on JBossQL?

thanks!

--bill



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to