2nd level cache ignoring HINT_LOADGRAPH
Description
Attachments
1
Activity
Show:

Cloves Almeida October 24, 2016 at 1:21 PM
I've read the aforementioned issue and can confirm this is a duplicate.

Oliver Breidenbach October 24, 2016 at 6:43 AM
Is duplicate to: HHH-10179

Cloves Almeida October 21, 2016 at 4:37 PM
I'm a attaching code to reproduce the bug.
When loading from the 2nd level cache (Infinispan at least) Hibernate is not honoring the eager loading of attributes passed in the EntityGraph using either "HINT_LOADGRAPH" or "HINT_FETCHGRAPH".
Note that the 1st time the entity is loaded, it work as expected and the attributes get loaded instead of being proxied.
Example: