Hello everyone!

About a couple of weeks ago I opened issue NH-1717, dealing with value
collections with composite many-to-one key:
http://nhjira.koah.net/browse/NH-1717

Fabio replied to it, by pointing out a solution for my problem, in
particular that I should implement GetHashCode() for each many-to-one
class thats part of the key.

However, this didn't use to be the case with NH 1.2, my code stopped
working after upgrading to 2.0.1.
I believe NH 1.2 uses the Equals/GetHashCode of the CompositeId type
that's declared as the identifier type for the collection's owner
class.

So I'm wondering if this a new requirement? It does make sense in a
way, but I don't remember seeing it in the release notes

Thank you,
Chris

Reply via email to