At my current NHibernate understanding, no. They're not. When you use the Fetch() method you explicitly say to NH to bypass the mapping and bring the association with it's relation that's being queried.
When you just performing a join, in the context of the query, you'll be able to see and treat the data from the association. The biggest change here is when you exit the ISession Context, the association is no longer available (depending on your mapping). If, inside the ISession context, you access the association object, then yes, the association will be available outside the ISession scope. At least this is how I'm using it! :) Hope it helps! Em segunda-feira, 23 de abril de 2012 09h23min34s UTC-3, Luka escreveu: > > Hi, I this the same: > > var query = QueryOver.Of<Form>() > .Fetch(x=>x.FormFields).Eager > > and > > var query = QueryOver.Of<Form>() > .JoinQueryOver(x=>x.FormFields); > > Thanks? > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/Xr_ro2YKBmQJ. 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.
