This content has been marked as final.
Show 2 replies
-
1. Re: Nested JOIN FETCH
echon May 24, 2006 11:22 AM (in response to martinso)from A a left join fetch a.bs as b left join fetch b.cs as c where a.id=1
why do you use a normal join and no left join? In your case only results As in the scalar where A has some Bs. -
2. Re: Nested JOIN FETCH
martinso May 24, 2006 11:42 AM (in response to martinso)Thank you, echon! Just what I wanted.
And you're right, it should definately be a LEFT JOIN FETCH there.