restrictions.add("username like concat(#{search.value},'%') ");
should work.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005713#4005713
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005713