I think that's because you are using a bag. Try using a set instead,
it is a little change.
Otherwise, you will have to use the DistinctRootTransformer.

RP

On May 27, 9:22 am, Michael Teper <[email protected]> wrote:
> Except that I don't. I end up with *four* operations, *each* with four
> steps.
>
> -Michael
>
> On May 26, 7:39 pm, Darren Kopp <[email protected]> wrote:
>
>
>
>
>
>
>
> > That is working correctly. Since you want to load all of the child items,
> > you are getting all the child items, and you also have the data for the
> > parent entity. nhibernate will rehydrate it into the correct form so that
> > you'll have 1 operation with 4 steps using 1 query.

-- 
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