I had a bean working perfectly using ejb-ql. I wanted to use the ORDER BY functionality so I just changed what looked like (in my ejb-jar.xml file)
<ejb-ql>my query</ejb-ql>
to
<jboss-ql>my query with ORDER BY</jboss-ql>
and now when I deploy my bean jboss complains
"expected one ejb-ql tag". Why doesn't it see the jboss-ql tag? Is there something else I have to do? Thanks.
jboss-ql must be declared on your jbosscmp-jdbc.xml file.
-- Juha