src/main/java/org/criteria4jpa/criterion/Restrictions.java
public static Criterion ilike(String relativePath, String value, MatchMode matchMode) {
    return new ILikeExpression(relativePath, matchMode.toMatchString(value));
  }
public static Criterion ilike(String relativePath, String value, MatchMode matchMode) {
    return new ILikeExpression(relativePath, matchMode.toMatchString(value));
  }
public static Criterion ilike ( String relativePath , String value , MatchMode matchMode ) { return new ILikeExpression ( relativePath , matchMode . toMatchString ( value ) ) ; }
Adds a case-insensitive "like" constraint to a <i>persistent field</i>.
This method requires a {@link MatchMode} to specify how wildcards are added
to the value. You may also use {@link #like(String, String)} if you
want to manually specify the wildcards in the match string.

@param relativePath relative path of the string field
@param value the match string
@param matchMode specifies how to add wildcards to the value to create
the LIKE expression
@return {@link Criterion} instance
Adds a case - insensitive like constraint to a <i > persistent field< / i > . This method requires a { @link MatchMode } to specify how wildcards are added to the value . You may also use { @link #like ( String String ) } if you want to manually specify the wildcards in the match string .