Re: [hibernate-dev] EntityGraph query spaces not applied to Query (HHH-11213)

2016-12-20 Thread Gail Badner
See below... On Fri, Dec 16, 2016 at 5:03 PM, Steve Ebersole wrote: > It likely is not an issue. Query spaces only come into play with regards to > restrictions. Since the EntityGraph is not part of the query proper > restrictions cannot be based on it. > > That would be a scenario to try thoug

Re: [hibernate-dev] EntityGraph query spaces not applied to Query (HHH-11213)

2016-12-16 Thread Steve Ebersole
It likely is not an issue. Query spaces only come into play with regards to restrictions. Since the EntityGraph is not part of the query proper restrictions cannot be based on it. That would be a scenario to try though... create a query restricting results based on some joined attribute and then

[hibernate-dev] EntityGraph query spaces not applied to Query (HHH-11213)

2016-12-16 Thread Gail Badner
Query spaces for EntityGraph nodes/subgraphs are not currently added when applied to a Query, and so the session is not flushed if it contains updated data relevant to the EntityGraph that is not in the query spaces defined for the Query. I originally though this was a critical issue, but now that