IBM Support

PH51431: ECLIPSELINK DOES NOT SUPPORT NON-BREAKING SPACE CHARACTERS IN SQL/JPQL QUERY STRINGS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The error from a query containing a non-breaking space
    character can be varied. However, the error will contain a
    "Syntax" error similar to:
    
    ```
    org.eclipse.persistence.exceptions.JPQLException
    Exception Description: Syntax error parsing
    ```
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server - Java Persistence API - JPA 2.1 &   *
    *                  EclipseLink                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: EclipsLink throws a syntax exception    *
    *                      for query strings containing            *
    *                      non-breaking spaces as whitespace.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    EclipseLink uses `java.lang.Character.isWhitespace(char)` which
    does not recognize non-breaking spaces ('\u005Cu00A0',
    '\u005Cu2007', '\u005Cu202F') as whitespace. For that reason,
    EclipseLink cannot process non-breaking spaces as whitespace
    and therefore cannot process string queries containing these
    non-breaking spaces.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH51431

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-12-13

  • Closed date

    2023-04-14

  • Last modified date

    2023-04-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 April 2023