When doing a query like this (using Nhibernate 2.1.2):
ICriteria criteria = session.CreateCriteria()
.SetFetchMode(\"ChildColl
I am not using NHibernate (rather, regular 'ol Hibernate), but in the Java version of Hibernate you can define One-To-Many collections as either Lists or Sets. If you define them as Sets you will not get duplicates. Surprisingly enough, this happens without overriding equals(). Unfortunately, I have the same problem and I want Lists so I can integrate with Wicket but no duplicates...