Details
-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.0
-
None
-
EAP 5.1.0
-
Release Notes
-
Workaround Exists
-
-
-
Documented as Resolved Issue
Description
See http://opensource.atlassian.com/projects/hibernate/browse/HHH-5853
====================
If an entity defines a collection with a property-ref based key as cacheable, there is a problem loading said collection and putting it into its second level cache region. The issue appears to be due to the incorrect "key" used to locate the owning entity; it tries to use the referenced property value instead of the corresponding id value.
====================