Hi,
I have been exploring a demo application for Hibernate which is simply an organization chart with employees having other employees as their supervisors. While I was fiddling around with lazy loading and fetching, I noticed that Hibernate will only fetch one level deep into the supervisor relationship with outer join fetching. After some tracing, this occurs because Hibernate will not load an association via outer join more than once (checked by isDuplicateAssociation method in OuterJoinLoader). I was wondering why this is implemented like this? The maximum fetch depth should prevent infinite loops right?
Regards,
_________________ Ali Ibrahim
|