Hi 

Is it possible to ask NHibernate to eager load a property of an element 
held within a map collection? I have done a fair bit of googling and tried 
a few different variations with no success. 

My current attempt in HQL is below, the third line, where I try to fetch 
"responsibilities", is the issue.

select c from Company c
left join c.employees e
left join element(e).responsibilities r
where c.id = :id

Any advice would be appreciated.

Thanks
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/0nY8tq8JlOUJ.
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.

Reply via email to