http://fabiomaulo.blogspot.com/2009/05/nhibernate-210-hql-with-clause.html

<http://fabiomaulo.blogspot.com/2009/05/nhibernate-210-hql-with-clause.html>or,
leaving the class unchanged you can map the collection of Kittens with
access="none" and then use it in HQL

2010/2/17 Dor Rotman <[email protected]>

> Hello,
> All the documentation I see regarding HQL left joins work this way:
>
> from Eg.Cat as cat
>    left join cat.Kittens as kitten
>
> What if the mapping between cat and kitten doesn't exist, but there is
> a mapping between kitten and cat?
> I'd like to run this query:
>
> from Eg.Cat as cat
>    left join Kittens as kitten on kitten.cat
>
> Would that be possible?
>
> Thanks.
>
> --
> 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]<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.

Reply via email to