Hi,
I am using xdoclet to generate the EJBs and the DD. Last week I got through
the xdoclet documentation and was reading about the weblogic.finder tag but
I didn't manage to get it working. Can anyone please post an example how to
use this tag?
Regards
Michael
dolphinn - 03 Mar 2004 02:38 GMT
test
> Hi,
>
[quoted text clipped - 6 lines]
>
> Michael
dolphinn - 03 Mar 2004 02:58 GMT
Not sure if these are what you want. May be too simple. I am not sure how to
make it work with two arguments. Usually the findAll finder is automatically
generated by Weblogic when you create an Entity bean.
* @ejbgen:finder ejb-ql="SELECT OBJECT(o) from Book as o"
generate-on="Local" signature="Collection findAll()"
* @ejbgen:finder ejb-ql="SELECT OBJECT(o) from Book as o WHERE o.author=?1"
generate-on="Local" signature="Collection findByAuthor(java.lang.String
author)"
> Hi,
>
[quoted text clipped - 6 lines]
>
> Michael