My Oracle Support Banner

TOPLINK GRID JPA ENTITY FIND OPERATION THROWS NPE FOR EMBEDDED OBJECTS (Doc ID 2690480.1)

Last updated on FEBRUARY 09, 2021

Applies to:

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

Symptoms

 If there are multiple find or searches by named query TopLink Grid doesn't
populate "embedded" JPA entity objects marked with @EmbeddedId or @Embedded.
It happens during second or next (third, fourth...) find call when JPA
entity comes from cache.
It happens only when TopLink Grid is active.
Another condition needed to simulate this bug is, that there is reference to
another entity by e.g. @OneToOne. When this reference is removed/disabled
test will pass.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution

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