This content has been marked as final.
Show 2 replies
-
1. Re: Seeing Double - Possible Hibernate Bug
mduffy_lists Mar 21, 2005 1:09 AM (in response to mduffy_lists)Can anyone provide any insught as to why getResultList() returns duplicate results (each row is returned twice)?
Thx.
Mike -
2. Re: Seeing Double - Possible Hibernate Bug
epbernard Apr 6, 2005 11:08 AM (in response to mduffy_lists)"mduffy_lists" wrote:
Can anyone provide any insught as to why getResultList() returns duplicate results (each row is returned twice)?
We basically return the SQL join, so this explain duplaication.
Use a Set on top of your result to distinct the objects.
We'll eventually do it ourselves.