templth wrote:
I think it's this kind of request I need in addition to the config you said.
The request made in this thread is quite strange.
"select a from a left outer join b" make an outer join for nothing because you asked for a and no particular clause is used on b attributes.
The proper request is "from a" (I think an outer join is performed by Hibernate in this case), but the user don't care.
The fetch keyword is useful when you explicitly set lazy=true or have a proxy on the children and want to populate parent and children in one request.