-
1. Re: Query method not found
adrian.brock Jun 24, 2003 5:17 AM (in response to kitz)It is actually trying to tell you that one of
your queries doesn't have a method name.
Regards,
Adrian -
2. Re: Query method not found
kitz Jun 25, 2003 3:27 AM (in response to kitz)Adrian,
Thanks, that's what I thought at first too... but all of the tags in my ejb-jar.xml and jbosscmp-jdbc.xml have <method-name> elements within their <query-method> elements.
For instance,
<query-method>
<method-name>findSamplesFromCenter_id</method-name>
<method-params><method-param>java.lang.Integer</method-param></method-params>
</query-method>
<ejb-ql>
<![CDATA[
SELECT OBJECT (g)
FROM sample AS g
WHERE g.samplingCenter=?1
]]>
</ejb-ql>
Any more ideas? Maybe I misunderstood what you meant...
Thanks!
Jacob -
3. Re: Query method not found
kitz Jun 25, 2003 3:52 AM (in response to kitz)... and I'm an idiot :)
Was looking at an older version of the file in my editor somehow. Thanks for the help!
Jacob -
4. Re: Query method not found
trahayu Aug 4, 2003 4:42 AM (in response to kitz)I'm trying to use dynamicQL for my ejbselect method. you know, we don't need to declare it in the jbosscmp-jdbc.xml but we build it in our method.
But when i deployed, it always says 'Query Method Not Found'? can someone help me? my query tag in jbosscmp-jdbc.xml is like this :
<query-method>
<method-name>ejbSelectGeneric</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.Object[]</method-param>
</method-params>
</query-method>
<dynamic-ql/>
i'm using jboss3.2.1