nhibernate / nhibernate-core

NHibernate Object Relational Mapper
https://nhibernate.info
GNU Lesser General Public License v2.1
2.13k stars 925 forks source link

Equals is ignored for Components that contain collection #3541

Open DmitryMak opened 5 months ago

DmitryMak commented 5 months ago

Test that explains the intent in #3539

hazzik commented 4 months ago

Ok. I've fixed tests... But they still fail. Seems legit bug.

DmitryMak commented 4 months ago

Ok. I've fixed tests... But they still fail. Seems legit bug.

Thank you! FWIW I tried to use collection-type and a custom IUserCollection with Wrap overridden to wrap the new HashSet into a PersistentGenericSet, but the result was the same.