How I can cast Integer to a String for Criteria Query?
i.e.:
Predicate predicate = criteriaBuilder.like((Expression) root.get(filterKey),
"%" + filterValue + "%");
I wan to create filter for dataTable component.... and i.e. for ID value I want to get filter like this:
If I type "1" I will get all items with ID containing "1" (223122 ID will be still correct)