Hi, The situation is the following: I have two CMR beans in 1-n bidirectional relationship, Product and Manufacturer (the usual example :), both beans are view-type="local". I'd like to have a container managed query on the Product bean, which would return a collection of Products where it's manufacturer matches the provided one.
I tried to use the following xdoclet tag to describe the query: @ejb:finder signature="Collection findByManufacturer (ManufacturerLocal manufacturer)" result-type-mapping="local" and this gives the following exception at call time: javax.ejb.FinderException: Unknown query: public abstract java.util.Collection org.dyn.crocodile.interfaces.ProductLocalHome.findByManufacturerLocal(org.dyn.crocodile.interfaces.ManufacturerLocal) throws javax.ejb.FinderException Just for comparison, a similar query, based on a simple data field of Product works correctly. I believe the problem is around the field name, as the field name is 'Manufacturer', therefore the get method is called getManufacturer(), but the type in the query is ManufacturerLocal.. is that the problem? If not, how do I set up a query like this correctly? Christopher -- .Digital.Yearning.for.Networked.Assassination.and.Xenocide _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user