This content has been marked as final.
Show 3 replies
-
1. Re: how to define the finder method of entity bean on jboss?
xiaoyi Jul 3, 2003 10:08 PM (in response to xiaoyi)please help me ,i will wait for your reply online.
i don't know the wrong of my file.
thanks! -
2. Re: how to define the finder method of entity bean on jboss?
pranav Jul 4, 2003 5:57 AM (in response to xiaoyi)ejb-jar.xml file...
see the DTD for this...
Cheers... -
3. Re: how to define the finder method of entity bean on jboss?
tdang Jul 9, 2003 9:36 AM (in response to xiaoyi)I suppose you do not use JBoss 3.x
I only know how to define a finder method in JBoss 3.x. Here is an example:
<query-method>
<method-name>findAllAccounts</method-name>
<method-params></method-params>
</query-method>
<ejb-ql>
<![CDATA[SELECT OBJECT(c) FROM ABean AS c]]>
</ejb-ql>
You must define this snip code in the ejb-jar.xml.
Hope it helps.