lazy="extra"

2009/11/10 c24chan <[email protected]>

>
> Hi all,
>
> I was wondering if there is any way to lazy load part of map in NH?
>
> Here is my mapping:
>
>    <map name="Resources" table="COUNTRY_TL" fetch="subselect">
>      <cache region="CountryCache" usage="read-write" include="all"/>
>      <key column="COUNTRY_ID"/>
>      <index column="LANGUAGE_CODE" type="System.String"></index>
>      <composite-element class="Country+Translation">
>        <property name="Name" column="NAME" />
>      </composite-element>
>    </map>
>
> The map itself is lazy loaded already by setting fetch to
> "subselect".  I am wondering if there is a method to lazy load the map
> value (the composite element in this case) by specifying a index?
>
> Thanks in advance.
> >
>


-- 
Fabio Maulo

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