Java: JDOQL startsWith query, case sensitive
I'm using the .startsWith() filter in a JDOQL query but it's case sensitive. So start开发者_Go百科sWith("ab") doesn't return "Abc" result and so on.
Will I need to use a SQL query to avoid this ?
So combine it with toUpperCase() then perhaps field.toUpperCase().startsWith("AB")
Edit : fix method names
精彩评论