NullPointerException Accessing Composite Primary Key As Enumerated Key
Last updated on FEBRUARY 04, 2013
Applies to:Oracle TopLink - Version 188.8.131.52.0 to 184.108.40.206 [Release Oracle11g to 12c]
Information in this document applies to any platform.
Toplink Grid project running Eclipselink JPA against Coherence cache as follows:
1. Created an entity for two tables table1 and table2.
2. Error occurs when attempting to read data from table1 which internally reads data from table 2 using a primary key. Table2 has composite primary key.
Composite primary key is defined as an enumerated key.
Example error stack:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms