Fixes are available
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
With openJPA 2.0, if defininig a schema name in persistence-unit-defaults attribute in the orm.xml file, the generated sequence doesn't have the default schema name as specified.
Local fix
Add the followign property to set a schema: <property name="openjpa.jdbc.Schema" value="xxxx"/> Or set it as a JVM property would help workaround the issue.
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server V8.0.0, V8.5.0 and V8.5.5 who * * define a persistence unit default * * (<persistence-unit-defaults>) schema * * in an orm.xml file. * **************************************************************** * PROBLEM DESCRIPTION: A default Schema defined in a * * persistence unit default in an * * orm.xml file is not being honored. * **************************************************************** * RECOMMENDATION: * **************************************************************** Take the following entry in a JPA orm.xml file: <persistence-unit-metadata> <persistence-unit-defaults> <schema>schemaInPUDefaults</schema> </persistence-unit-defaults> </persistence-unit-metadata> Assuming this is the only schema defined in the entire app, then this schema should be used by default (the JPA specification clearly defines how the defaults in <persistence-unit-defaults> should be used by a provider). However, this schema is not used by OpenJPA.
Problem conclusion
With this fix, code has been added to OpenJPA to properly handle a default schema defined in the persistence unit default settings or an orm.xml. The fix for this APAR is currently targeted for inclusion in Service Levels (Fix Packs) 8.0.0.10 and 8.5.5.5 of WebSphere Application Server versions 8.0.0 and 8.5.5. 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
PI16847
Reported component name
WEBS APP SER DE
Reported component ID
5724H8900
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-04-27
Closed date
2014-09-25
Last modified date
2014-09-25
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
R800 PSY
UP
R850 PSY
UP
Document Information
Modified date:
28 April 2022