Actually I missed the breaking part of that query:
Session.Query<LogDto>().Fetch(x => x.User).Count()
On Wednesday, May 30, 2012 1:23:35 PM UTC+3, mynkow wrote:
>
> Is there any workaround for this error? *Query specified join fetching,
> but the owner of the fetched association was not present in the select list
> [FromElement{explicit,not a collection join,fetch join,fetch non-lazy
> properties*
>
> I read somewhere that people solved this with introducing an alias in HQL
> queries. What about Linq?
>
> 10x
>
--
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/-/h-ce8kGkOEEJ.
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.