Java: starting JDOQL with query case sensitive

I am using the .startsWith () filter in a JDOQL query, but it is case sensitive. Thus, startWith ("ab") does not return the result "Abc" and so on.

Do I need to use a SQL query to avoid this?

+2


a source to share


1 answer


So combine it with toUpperCase (), maybe field.toUpperCase (). StartsWith ("AB")



Edit: fix method names

+3


a source







All Articles