Steve,
thank you very much. The test is extremely simple and as a programmer I
thought those few lines of code would clear up any confusion.
It's perfectly OK to postpone the discussion and I will be very happy to
continue once the problem is reproduced and understood.
Once again thank you for
MetamodelGraphWalker line 144. My relation is in
MetamodelGraphWalker.visitedAssociationKeys, so it gets skipped and thus
not make it in the final big SQL SELECT.
Why don't you take a look at the test case I provided - just run it and
see the LazyInitializationException error, it will all be in
Hello,
actually I would like to learn how the FetchMode.JOIN is supposed to
work in case of cycles (not really cycles but MetamodelGraphWalker
considers them cycles).
Check the test case please - it gets LazyInitializationException on a
relation despite that relation being marked as JOIN FETCH
There is a huge difference in join-fetch and what we detail for "EAGER".
Join-fetch is also an eager fetch. There are 2 pieces of information in
regards to fetching: when, how?
EAGER merely describes when: now.
What you describe as "EAGER" is really a N+1 fetch. So the relation is
fetched immed
HHH-10745, runnable test case attached to that issue
(org.hibernate.test.fetchprofiles.cycle.tar.gz).
Thank you
Vladimir
On 06/07/2016 06:00 AM, Gail Badner wrote:
> Please create a Jira issue and attach a runnable test case.
> Thanks,
> Gail
>
> On Thu, Jun 2, 2016 at 5:45 AM, Vladimir Marti
Please create a Jira issue and attach a runnable test case.
Thanks,
Gail
On Thu, Jun 2, 2016 at 5:45 AM, Vladimir Martinek wrote:
> Fetch profiles fail to load certain relations because of invalid cycle
> detection in MetamodelGraphWalker. Below is an example.
>
> I have compared the behaviour o
Fetch profiles fail to load certain relations because of invalid cycle
detection in MetamodelGraphWalker. Below is an example.
I have compared the behaviour of Fetch Profiles and standard EAGER
relations (EAGER does not suffer from this problem). The
MetamodelGraphWalker graph walker produces t