|
If a query uses an entity graph with the hint “javax.persistence.fetchgraph”, the provider should fetch only those attributes included in the entity graph (and id and version values). So attributes not included in the graph should stay unloaded, even if they are declared EAGER. Hibernate 4.3.0.CR2 does fetch those attributes.
Test case: https://github.com/dirkweil/jpa-entitygraph-test
|