Just a question; Is possible to have a finder method that returns some Local interface which is different from Local Interface which calls it?
>> No it is not possible. Finders can only return the type of the interface on which they are defined. I have a EJB like that: @ejb.bean * name="User" * [...] * @ejb.finder * signature="mypackage.VehicleLocal findVehicleById(java.lang.String id)" * query="SELECT OBJECT(m) FROM User u, IN(u.vehicles) m WHERE m.id LIKE ?1" >> You can only return users from finders on the user bean ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user