title: Load object only when necessary
body: <p>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:</p>
  
  <p>
  </p>
  
  <p></p>
  
  <p></p>
  
  <pre><code>&lt;id name="Id" column="Id_Slab" type="Int64"&gt;
    &lt;generator class="Geraes.GLib.GDomainBasis.CustomTableHiLoGenerator, GLib.GDomainBasis" /&gt;
  &lt;/id&gt;
  
  &lt;property name="Mill" column="Mill" type="String" length="2" not-null="true" /&gt;
  
  &lt;property name="SlabId" column="Slab_Id" type="String" length="20" not-null="true" /&gt;
  
  &lt;property name="PieceId" column="Piece_Id" type="String" length="20" not-null="true" /&gt;
  
  &lt;one-to-one name="SlabPDO" class="SlabPDO" cascade="all" fetch="join"/&gt;
  
  &lt;set name="SlabInstructions" generic="true" inverse="true" lazy="false" cascade="all" fetch="join"&gt;
    &lt;key column="Id_Slab" /&gt;
    &lt;one-to-many class="SlabInstruction"/&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>Best Regards!</p>