Intermediate inherited classes are not mapped correctly

Description

If two mapped classes A and B are in a class hierarchy where B indirectly inherits from A and mappings are declared for A and B, but not for the classes between A and B, NHibernate doesn't find any members declared in the classes between A and B that are mapped in B.

Environment

None

Activity

Show:

Frédéric Delaporte 
November 22, 2018 at 4:54 PM

Moved here.

Alex Zaytsev 
April 27, 2017 at 4:28 AM

Cool, thanks. It seems that was too fast in that case

byrona 
April 27, 2017 at 4:20 AM
(edited)

, I have written a unit test and Bill has created a fix for this, both are submitted under https://github.com/nhibernate/nhibernate-core/pull/609

Alex Zaytsev 
April 27, 2017 at 3:43 AM

can you please provide a test case? Better if it is in a form of Pull Request on Github

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created April 27, 2017 at 3:41 AM
Updated November 22, 2018 at 4:54 PM
Resolved November 22, 2018 at 4:49 PM
Who's Looking?