IBM Support

PM96659: ENTITY OBJECT INSTANCE GENERATED BY NATIVE SQL QUERY MAY HAVE NULL EMBEDDABLE FIELD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When an entity object is instantiated with a Native SQL query
    and that entity contains embeddable objects, the embeddable
    object reference may be null if the native SQL query's ResultSet
    excludes embedded fields that are regularly eagerly loaded.
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: An entity populated by a native SQL     *
    *                      query contains an unexpected null       *
    *                      embeddable.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When an entity object is instantiated by a native SQL query,
    with select elements intended to populate the fields of that
    entity's persistent embeddable fields, the entity objects
    returned by the query contain null values for the embeddable
    fields.
    

Problem conclusion

  • The null value assigned to the embeddable field is a result of
    an optimization introduced in V8.5.  The optimization has been
    updated to contend with this scenario.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.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

    PM96659

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-09

  • Closed date

    2013-12-10

  • Last modified date

    2013-12-10

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • 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.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 April 2022