I have been using Hibernate Restrictions in JPA 1.0 ( Hibernate driver ). There is defined Restrictions.ilike(\"column\",\"keyword\", MatchMode.ANYWHERE) which
Restrictions.ilike(\"column\",\"keyword\", MatchMode.ANYWHERE)
Please consider to use
CriteriaBuilder.like(Expression<String> x, Expression<String> pattern, char escapeChar);
for matching anywhere.