Den 11 april 2012 12:52 skrev Giulliano <[email protected]>:
> I have a mapping for the Slab object that has the mapping references
> to objects and SlabPDO SlabInstructions. I would like to do selects,
> always carry the object SlabPDO and load SlabInstructions only when
> necessary. Is there any way to do this? Below an example of mapping:
>

>    <set name="SlabInstructions" generic="true" inverse="true"
> lazy="false" cascade="all" fetch="join">

What you describe implies lazy=true and fetch != join (or not present).

/Oskar

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