Seems this is expected behavior. Hibernate doesn't get rid of the duplication. However, it sucks a little since I have to change the code based on if I set the outer-join to be true or not.
==== Here was the answer ==
gavin
Hibernate Team
Joined: 26 Aug 2003
Posts: 3926
Location: Melbourne, Australia
Posted: Wed Sep 22, 2004 2:41 pm Post subject:
Um. It is not 33 objects, it is 33 references to the same object. Basically, there is no reason why Hibernate can do this unique-ification any more efficiently than you can do it.
|