Shared publicly  - 
 
Case insensitive Search using #hibernate .
Criteria crit = session.createCriteria(City.class);
crit.add(Restrictions.ilike('name', '%CoV%');
List results = crit.list();

output: Coventry
and so on....
1
Add a comment...