ejb-jar.xml
<ejb-jar>
<enterprise-beans>
.......
<query-method>
<method-name>findByLogin</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>
<![CDATA[SELECT OBJECT(a) FROM Customer AS a WHERE a.idname = ?1 AND a.pwd = PASSWORD(?2)]]>
</ejb-ql>
</enterprise-beans>
</ejb-jar>
how to change the ejb-ql to jboss-ql..
plesse help..
Just copy the whole section into jbosscmp-jdc.xml and it will then get parsed as a jbossql query.