This content has been marked as final.
Show 3 replies
-
1. Re: EJB Finder problem
julien.dubois Feb 16, 2004 4:11 AM (in response to ericmacau)Hi Eric,
Didn't I answer you previously on that question?
See :
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45354
Or is there something I didn't understand? -
2. Re: EJB Finder problem
ericmacau Feb 16, 2004 4:49 AM (in response to ericmacau)Hi Julien,
Thanks for your answer.
If the signature is "Set findByPlayerAndSeason(int playerId, int seasonId)", your QUERY is worked.
But now, the signature is "Set findByPlayerAndSeason(Player p, Season s)"
Does it also works ????
Eric -
3. Re: EJB Finder problem
julien.dubois Feb 16, 2004 8:55 AM (in response to ericmacau)Hi Eric,
No it won't work if you just send the EJB. But if you've got the EJB, you can easily use your previous query that way :
findByPlayerAndSeason(p.getPlayerId(), s.getSeasonId());
HTH!