Why this hql do not execute the outer join? The result it's like just a inner join (Hibernate ignores the outer join)!
Code:
from Programa as prg
left outer join fetch prg.credenciamentos as cre
inner join fetch cre.professorCredenciado as prc
inner join fetch prc.pessoa as pes
where cre.status = 'P'
order by prg.nome asc, pes.nome asc;
I alredy tried to in this form:
Code:
from Programa as prg
left outer join fetch prg.credenciamentos as cre
order by prg.nome asc;
But still don't work!
I'm using Hibernate 3.0.5 and Postgre 8.1.
Thanks in advance.