i want to select all entities whose name starts with a specific letter, i can use this query with a string parameter
select f from Foo f where substring(f.name, 1, 1) = ?1
but when i use a char, the query does not return anything.
i think it should also be possible to use char/Character types, do you agree?