Thanks!
I haven't rewrote my finder as relation User-Vehicle is uni-directional,
I just put it on Vehicles bean, and it works perfect.
tito
El jue, 07-04-2005 a las 14:06 +0100, Gary Bennett escribiÃ:
> Why not just rewrite your finder and put it in your vehicles bean
>
> * @ejb.finder
> * si
Why not just rewrite your finder and put it in your vehicles bean
* @ejb.finder
* signature="mypackage.VehicleLocal findVehicleById(java.lang.String
id, java.lang.Object o)"
* query="SELECT OBJECT(m) FROM Vehicle m WHERE m.id = ?1 and m.User.XXX = ?2
LIKE ?1"
Simon Godden wrote:
Just
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=
Just a question; Is possible to have a finder method that returns some
Local interface which is different from Local Interface which calls it?
I have a EJB like that:
@ejb.bean
* name="User"
*
[...]
* @ejb.finder
* signature="mypackage.VehicleLocal findVehicleById(java.lang.String