NullPointerException When Using The Canonical Meta Model Before The PersistenceContext Was Initialized Firstly (Doc ID 1553581.1)

Last updated on MAY 20, 2013

Applies to:

Oracle TopLink - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

A code line using the canonical meta model of a JPA 2.0 persistence unit runs into

 

Cause

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