This content has been marked as final.
Show 1 reply
-
1. Re: Sort collections of CMR
tsg26 Oct 28, 2003 6:14 PM (in response to vivachu)hello,
May be you could try the most common jboss <jboss-ql> query override using the jbosscmp-jdbc.xml wherby you declared the query enclosed using the <jboss-ql>xml tag like the example from JBOSS CMP 3.X
<query-method>
<method-name>findBadDudes_jbossql</method-name>
<method-params><method-param>int</method-param></method-params>
</query-method>
<jboss-ql><![CDATA[
SELECT OBJECT(g)
FROM gangster g
WHERE g.badness > ?1
ORDER BY g.badness DESC
]]></jboss-ql>
Thanks