Dear All,
I am trying to add a query method in my entity bean. Following is the x-doclet that i'v added in my Bean class, to generate the related code.
--------------------------------------------
*
* @ejb:finder signature="java.util.Collection findAllProducts()"
* @jboss:finder-query name="findAllProducts"
* query="productID IS NOT NULL"
*
--------------------------------------------
The PROBLEM is this --->> When I try to call this method in my client, it throws an exception, but other finder methods work fine.
Have a look....may be you cud help...
Cheers
hi,
try changing the name from 'findAllProducts' to 'findAll' or something similar and sensible. i also had the same problem. on changing the method name, it worked.
best of luck