Fabio, I just posted a question on StackOverflow about this: http://stackoverflow.com/questions/2924094/how-can-i-eager-load-a-child-collection-mapped-to-a-non-primary-key-in-nhibernate
Hopefully this provides enough material to reproduce the issue. David On Apr 14, 9:12 am, Fabio Maulo <[email protected]> wrote: > If you can create a failing test with all classes and full mapping with both > cases (select and join) we can evaluate the situation a little bit better. > > 2010/4/14 Armin Landscheidt <[email protected]> > > > > > > > Hallo > > > This is the Mapping part: > > > <bag name="ManyToMany" table="ManyToManyRefTable" > > > <key column="MyNumber" property-ref="Number" /> > > <many-to-many class="ManyToMany" column="ManyToManyNumber" property- > > ref="Number" /> > > </bag> > > > If I get the object with fetchmode join on the many to many > > association NHibernate switches the nummber and id. If I use fetchmode > > select everything works fine. > > > Is this a bug? > > > Regards Armin > > > -- > > You received this message because you are subscribed to the Google Groups > > "nhusers" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<nhusers%[email protected] > > > > > . > > For more options, visit this group at > >http://groups.google.com/group/nhusers?hl=en. > > -- > Fabio Maulo -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
