A fix is available
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
The fix for this APAR changes the EclipseLink implementation and involves an update to the third-party source. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=518774 This fix is currently targeted for WebSphere Application Server 9.0.5.3 and WebSphere Liberty 19.0.0.11. For more information, see 'Recommended Updates for WebSphere Application Server': http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
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
R900 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":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
02 November 2021