Have anyone had this problem :

I need to find some ejb's entities based on a filter that is compound of 
3 values : state, city and bank. the ejb-ql coul'd be :

select object(p) from Praca p where p.city.oid=$1 and p.state.oid=$2 and 
p.bank.oid = ?3

but my filter let the user choose 'all' for each of the filter field, 
like : state=all city=all bank=A_BANK. Do I need to define one ejb-ql 
finder for each possibility work when one of the filter is set to 
'all'??? isn't there other solution???

-- 
Emerson Cargnin - MSA
SICREDI - Tel : 3358-4860



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to