nhibernate/nhibernate-core — pull request #101 by hazzik (2012-05-09 15:25:54+00:00)
Title: NH-3126 - InvalidCastException when cascading saves to transient dictionary values

When using a collection with cascade="all-delete-orphan" where the index is a simple type and the value is an entity referenced with a one-to-many a InvalidCastException occurs when saving the owning entity.

JIRA: https://nhibernate.jira.com/browse/NH-3126

PS: To which branch should it be merged?