Fixed
Details
Details
Assignee
Former user
Former user(Deactivated)Reporter
Former user
Former user(Deactivated)Components
Fix versions
Affects versions
Priority
Created January 6, 2021 at 3:22 AM
Updated July 13, 2021 at 10:32 PM
Resolved March 2, 2021 at 10:25 PM
StackOverflowError
is thrown when loading an entity with an ID that is an bidirectional eager one-to-one association hasFetchMode.SELECT
mapped, as in the following:This happens when loading by ID using a query and when loading by primary key with
EntityManager#find
.In addition, loading by ID using
EntityManager#find
fails withFetchMode.SELECT
, whether lazy or eager due to HHH-14389.