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 18.104.22.168.0 and later
Information in this document applies to any platform.
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.
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