So, I'm trying to override a EJB-QL query in jbosscmp-jdbc.xml like this:

        <query>
            <description>Find All Products of Product Group</description>
            <query-method>
                <method-name>findByProductGroup</method-name>
                <method-params>
                    <method-param>java.lang.String</method-param>
                </method-params>
            </query-method>
            SELECT *.product FROM product, product_group WHERE
product.group_recnum = product_group.rec_num AND product_group.name = ?
    </query>

Which is all I could garner from the documentation...

I get an exception on deployment:

org.jboss.deployment.DeploymentException: Error in query spedification for
method findByProductGroup

I'm sure I'm doing something wrong but I'm not sure what.

Hunter


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to