gavin wrote:
I havn't yet decided whether Hibernate should distinctify the query result set automatically. Believe it or not, this can have a significant performance impact, so I lean toward leaving things the way they are and letting the application handle this, if required.
Ok, no problem. The application can insert the obtained List in a Set or do any other handling of duplicates.
The only disadvantage then is the difference in semantics between join and fetch join.
P.S. Great forums! Thanks to evaala, gavin and everyone participating in Hibernate forums.
Jordi Pradel