ManyToAny ByCode does not use field customizer

Description

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

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created March 27, 2012 at 10:10 AM
Updated September 21, 2014 at 12:45 PM
Resolved June 5, 2013 at 2:03 PM
Who's Looking?