mappings, please On Tue, Sep 14, 2010 at 10:26 PM, rsr <[email protected]> wrote:
> Say I've got two tables Folder and Document related as you can > imagine, and mapped in NH using just a simple property FolderID on the > Document entity. i.e. - no many-to-one mapping. > > I can do an HQL inner join by using > from Folder f, Document d where f.FolderID = d.FolderID > and that's great. > > My question is - how can I turn that into a left join, so that I can > get folders that have no documents? > > 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.
