Inline natural-id synchronization doesn't consider objects loaded from shared cache

Description

Similiar to HHH-7237.
Inline natural-id synch process relies on all entity objects in persistence context having it's according natural-id values cached in the NaturalIdResolutionCache. While we assured that most scenarios, we forgot about entity loads from shared cache.

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Guenther Demetz

Fix versions

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure