I need to specify this in the mapping files somehow. This is a legacy db. I found a join element but I also need to add where clause. Can where be used with <join>. I see there is "subselect" in a join, but not sure if it and how it works.
On Mar 13, 12:32 pm, Ayende Rahien <[email protected]> wrote: > select a, b from Bar b, A awhere a.Id = 1 and b.Id = 1 > > On Fri, Mar 13, 2009 at 8:47 PM, epitka <[email protected]> wrote: > > > Is it possible to hydrate two entites with one query? I have a legacy > > db (again) where select would return something like > > > t1.Id, t1.Name, t2.Code, t2.IsExpired --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
