I've got objects with string field and i want to search all objects which fits (case insensitive) to my array with string list.
e.g.
public class Person {
private String name;
}
List<String> list = Arrays.asList("teSt1", "tEsT2");
i can create condition like:
Criteria.where("name").in(list);
but i have no idea how to make it case insensitive (connect it with regex)
Thanks for any help