eclipselink
eclipselink copied to clipboard
Add support for non-breaking spaces
The issue is detailed here: https://community.ibm.com/community/user/wasdevops/discussion/eclipselink-named-query-parameter-is-not-recognized-in-was-90512
The issue is that java.lang.Character.isWhitespace(char) does not recognize non-breaking spaces ('\u005Cu00A0', '\u005Cu2007', '\u005Cu202F') as whitespace.
The solution is to improve EclipseLink's whitespace detection to also check java.lang.Character.isSpaceChar(char), which does include non-breaking spaces.