IBM Support

PH47541: IMPROVE DB2 QUERY PERFORMANCE ON ECLIPSELINK BY ALTERING PARAMETER BINDING BEHAVIOR

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

  • EclipseLink currently disables parameter binding for JPA
    queries (JPQL & Criteria) on DB2 & DB2 z/OS. EclipseLink does
    this because EclipseLink does not know when is/isn't legal for
    DB2 & DB2 z/OS to use parameter markers. Without using SQL
    parameter markers within prepared statements, there is a
    performance degradation as DB2 has prepared statement cache
    misses.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server - Java Persistence API -             *
    *                  EclipseLink                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Add support to EclipseLink for DB2      *
    *                      and DB2 zOS SQL query parameter         *
    *                      binding                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Currently, EclipseLink disables parameter binding for queries
    that contain certain functions (ABS, SQRT, MOD, ect ), when
    running against DB2. However, usage of un-typed parameter
    markers within many of these functions is  permitted on DB2
    and DB2 zOS.
    This issue adds support to EclipseLink so that SQL functions
    that allow un-typed parameters on DB2 & DB2 zOS will use
    parameter markers; if the JPQL and/or Criteria API use
    parameters.
    This issue adds support for EclipseLink to allow partial
    binding of parameters; making the determination on when to
    bind/not to bind on an individual level and not a query level.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH47541

  • 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-06-28

  • Closed date

    2022-08-05

  • Last modified date

    2022-08-05

  • 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:
06 August 2022