I\'ve seen Restrictions.ilike(\'property\', \'%value%\'), but would like to generate SQL like: lower(property) = \'value\'. Any ideas?
I used:
Restri
Expression is now deprecated. Use Restrictions instead ...
crit(Restrictions.eq("firstName", firstName).ignoreCase());