I posted a comment with a suggestion on an approach for dealing with case-insensitive comparisons.

Any feedback?
https://issues.apache.org/jira/browse/DERBY-1748?focusedCommentId=12606166#action_12606166