Duplicate
Details
Details
Assignee
Alex Zaytsev
Alex ZaytsevReporter
David Roth
David RothComponents
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created January 11, 2013 at 5:22 PM
Updated July 27, 2018 at 10:09 AM
Resolved September 1, 2014 at 11:26 PM
Eager-Fetching a entity on a component does not work, there is no error but Nhibernate does not load the entity after all.
Example:
session.Query<Company>()
.Fetch(x => x.Component)
.ThenFetch(y => y.Entity)
Expected: Person.Component.Entity should be initialized.
It is strange because in https://nhibernate.jira.com/browse/NH-2615#icft=NH-2615 there was some work on this topic but it does not work for me.