Hi,
It's quite simple.
Do something like that. Inside your EntityQuery class declare your restrictions:
private String[] restrictions =
| {"inidate = #{mybean.date}", "name like upper(#{mybean.name} +
'%')" };
and now override getRestrictions() like that:
@override
| public List<String> getRestrictions() {
| return Arrays.asList(restrictions);
| }
Please forgive me if I wrote some declaration wrong, but it's all I can remember up to
now.
Regards,
Ricardo
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092653#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...