Yes. Thanks. I mentioned them both because I thought they somehow were related to each other – that nhib should be able to create sql for only objects it needs to create. I should have skipped the first one though (hql)… I was looking for a way to do the same thing in criteria. Is there any?
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Egozi Sent: den 22 september 2008 18:04 To: [email protected] Subject: [nhusers] Re: Why that many columns? ***select a*** from YOUR_HQL On Mon, Sep 22, 2008 at 6:53 PM, Roger Kratz <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: from A a inner join a.B b where…. or CreateCriteria(typeof(A)).CreateAlias("B","b", JoinType.InnerJoin)…. Why is b's data returned in the result set/part of the select clause (if fetch or SetFetchMode isn't used)? I'm feel I'm missing something obvious here… /Roger -- Ken Egozi. http://www.kenegozi.com/blog http://www.musicglue.com http://www.castleproject.org http://www.gotfriends.co.il --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
