IBM Support

PH18853: ECLIPSELINK INCORRECTLY DETECTS THE HANA DATABASE PLATFORM

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

  • When connecting to a HANA database, EclipseLink incorrectly
    determines the database platform to be DB2.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server - Java Persistence API - JPA 2.1 &   *
    *                  EclipseLink                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When connecting to a HANA database,     *
    *                      EclipseLink incorrectly                 *
    *                      determines the database platform to     *
    *                      be DB2Platform.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Connecting to a HANA database, using a driver for HANA
    database, EclipseLink can read the database product name as
    "HDB" with a major version of "2" and confuse this with DB2.
    This causes the incorrect database platform class to be set in
    EclipseLink and incorrect behavior to occur.
    

Problem conclusion

Temporary fix

  • EclipseLink allows the manual setting of the database platform
    via a persistence unit property:
    "eclipselink.target-database".
    
    To properly get HANA as the database platform, set the
    following property in persistence.xml:
    <property name="eclipselink.target-database"
    value="HANAPlatform"/>
    

Comments

APAR Information

  • APAR number

    PH18853

  • 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

    2019-11-06

  • Closed date

    2020-02-03

  • Last modified date

    2020-02-03

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSCVS22","label":"General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 February 2020