Fixed
Details
Assignee
RogerRogerReporter
Tobias WolschonTobias WolschonLabels
Components
Fix versions
Affects versions
Priority
MinorWho's Looking?
Open Who's Looking?
Details
Details
Assignee
Roger
RogerReporter
Tobias Wolschon
Tobias WolschonLabels
Components
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created June 20, 2013 at 1:32 PM
Updated June 21, 2013 at 5:19 AM
Resolved June 20, 2013 at 8:26 PM
Consider class B deriving from class A. There is an entity C referencing class B as a component. Envers includes the properties of class B, but ignores the properties of class A. In normal queries, NHibernate does not ignore the properties of class A. I attached a unit test for demonstration (using an SQLite database).
However, there is a workaround for this: Make class A's properties virtual and override them in class B. But it would be nice, if Envers includes them without this ugly workaround.