My Oracle Support Banner

NullPointerException Accessing Composite Primary Key As Enumerated Key (Doc ID 1521776.1)

Last updated on MARCH 19, 2019

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:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.