JBoss Seam EnitityQuery and Restrictions
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=120649
Additional info on restrictions usage:
1) Seam forces one EL expression per restriction.
2) can combine a EL expression and constants in one restriciton
Example:
“name like concat(lower(#{customer.name}),’%') or description like ‘ILI%’)”
3) Multiple restrictions are treated as “and” operation.
Written by Ravi Nallakukkala on November 21st, 2007 with no comments.
Read more articles on Hibernate.