NullPointerException Accessing Composite Primary Key As Enumerated Key

(Doc ID 1521776.1)

Last updated on FEBRUARY 04, 2013

Applies to:

Oracle TopLink - Version to [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