http://216.121.112.228/browse/NH-2134


From: [email protected] [mailto:[email protected]] On Behalf Of 
Fabio Maulo
Sent: den 9 mars 2010 13:35
To: [email protected]
Subject: Re: [nhusers] Different join fetch behaviour in new parser?

Hi Roger,
Can you create a JIRA ticket for the LinqProvider component ?
I don't want forget this issue before the next release.
Thanks.
2010/3/9 Roger Kratz <[email protected]<mailto:[email protected]>>
Hi

IIRC you could in the old parser write something like (or maybe I remember it 
from hibernate HQL?)...
select a.Id from A a
    left join fetch a.BCollection b
...in scenarios where "a" is already loaded in session and you want to fetch 
their collections.

Now a queryexception is thrown...
NHibernate.QueryException : Query specified join fetching, but the owner of the 
fetched association was not present in the select list

This is of course a minor minor thing, just wanted to know if this is by design 
and if I remember right - maybe put it as a breaking change note?

--
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
To unsubscribe from this group, send email to 
[email protected]<mailto:nhusers%[email protected]>.
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.



--
Fabio Maulo
--
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
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.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
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