You are looping through a collection and amending the collection as you go. Surely this will end up in some kind of error (out of bounds or something)
You have said inverse = false to the "Entity.Alex.AssetMeta.Casting" class, but you're removing the items from the other side of the relationship. Remove them from the casting class and NHibernate should then update.
I believe the reason nothing is happening, is because the inverse=true on the BookAsset means "I don't need to update, as i delegate responsibility to the other side"
Hope that helps
|