Think i've found the bug in Fluent Nhibernate. >From what I see, the mapper does two mapping of my class. One mapping is done through the browse of assembly types And the other one is done through the browser of Member of a type.
In the second case, when it does the GetMappingTypesWithLogicalParents, the mappingTypes collection is only field with mapping from the current assembly and not from the type assembly... so for him there is no joinedsubclass. On 15 déc, 19:04, Yann <[email protected]> wrote: > I've check in the configuration created by the BuildConfiguration and > the output of the configuration is different from the hbm. > > On 15 déc, 18:43, Yann ROBIN <[email protected]> wrote: > > > > > > > > > Hi, > > > I'm having a weird bug, don't know if it's related to NHibernate or > > Fluent-Nhibernate (or me), but I have a mapping in memory (Session) > > that is different from the hbm file generated by Fluent-Nhibernate. > > > In my session the Metada indicate SingleTableEntityPersister, or it > > should be a JoinedSubclassEntityPersister. > > > The hbm file has the joined-subclass in it. > > > That's for the web app. > > > As I thought it was maybe related to something in my big app, I > > isolated the case in a console application... everything was fine in > > the SessionFactory (metadata indicates JoinedSubclassEntityPersister), > > but the hbm file has no joined-subclass in it... > > > This is driving me crazy... Any idea why how this would be possible ? > > > Thanks, > > > -- > > Yann -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en.
