]
Guenther Demetz commented on HHH-7245:
--------------------------------------
Maybe following pull-request is the more elegant solution as the above,
as is centralizes the natural-id-synch to the doLoad method instead to duplicating the
code into loadFromSecondLevelCache:
Inline natural-id synchronization doesn't consider objects loaded
from shared cache
-----------------------------------------------------------------------------------
Key: HHH-7245
URL:
https://hibernate.onjira.com/browse/HHH-7245
Project: Hibernate ORM
Issue Type: Bug
Components: caching (L2), core
Affects Versions: 4.1.2
Reporter: Guenther Demetz
Labels: 2L-Cache, NaturalId
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: