When I create many-to-any bag ManyToAny the customizer for ManyToAny does not work and product still generate default fields for discriminator(ReferencedClass) and entity id(ReferencedId). I findout that NHibernate.Mapping.ByCode.Impl.CustomizersHolder has method public void Merge(CustomizersHolder source) but MergeDictionary(collectionRelationManyToAnyCustomizers, source.collectionRelationManyToAnyCustomizers); is missing.
I have added this row and now it works as expected.
I Added comment into source file // TODO: add this line, see attachment
Environment
None
Attachments
1
Activity
Show:
Alex Zaytsev
June 5, 2013 at 2:03 PM
Fixed in 3.3.x at 28cd7c0a0119284b52f4d71541766e338ca16851
When I create many-to-any bag ManyToAny the customizer for ManyToAny does not work and product still generate default fields for discriminator(ReferencedClass) and entity id(ReferencedId).
I findout that NHibernate.Mapping.ByCode.Impl.CustomizersHolder
has method public void Merge(CustomizersHolder source) but
MergeDictionary(collectionRelationManyToAnyCustomizers, source.collectionRelationManyToAnyCustomizers);
is missing.
I have added this row and now it works as expected.
I Added comment into source file // TODO: add this line, see attachment