2nd level cache ignoring HINT_LOADGRAPH

Description

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:

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.

Duplicate

Details

Assignee

Reporter

Components

Affects versions

Priority

Created October 21, 2016 at 12:49 PM
Updated December 3, 2024 at 9:28 AM
Resolved October 24, 2016 at 11:46 PM