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.