IBM Support

PM71054: A JPA query generated by the Criteria API fails when it is run.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A JPA query generated by the Criteria API fails when it is
    run. This is due to incorrect string length casted to VARCHAR.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A JPA query generated by the Criteria   *
    *                      API fails when it is executed.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    OpenJPA's Criteria API engine generated SQL that casted all
    literal strings to a VARCHAR(254).  When the literal string has
    a
    length greater then 254, this attempted cast will cause the SQL
    execution to fail.
    

Problem conclusion

  • The Criteria API function has been updated to properly apply the
    correct string length to the VARCHAR cast when processing
    literal values.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.5 and 8.5.0.2.  Please refer to the Recommended
    Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM71054

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-16

  • Closed date

    2012-08-21

  • Last modified date

    2012-08-21

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

    PM69888

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

    PM80442

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

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

Document Information

Modified date:
29 October 2021