On 24 Giu, 21:06, jods <[email protected]> wrote: > 2nd try: using HQL. "from T1 obj inner join fetch > obj.ReferenceToT2..." > Exactly the same result as 1.
Similar situation, I solved with "select obj from T1 obj join fetch obj.id.ReferenceToT2" and the SQL generated is a real join. NH 2.0, Oracle 10g, odp.net. Bye Diego --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
