L2 cache not used when loading entity on inverse side of bidirectional one-to-one relationship.

Description

L2 cache not used when loading entity on the inverse side of a bidirectional one-to-one relationship.

Both entities are present in the cache.
When loading the entity on the inverse side of the bidirectional one-to-one relationship (by ID),
this entity will be loaded from cache, but when it's child eagerly loads (relationship owner), the L2 cache is not utilized.

Environment

None

Activity

Show:
Heitor Neves
May 5, 2020, 1:20 AM
Edited

I recently jumped into this bug and reported on stackoverflow. Is there any way I can help? Nenad’s test case shows exactly the same problem I described on SO.

Assignee

Unassigned

Reporter

Nenad Nenadovic

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure