Hello,
I'm using the nHibernate v2.0.1.4000 version.
I have the following piece of mapping-code:
<many-to-one name="OutTransport" class="Transport" not-found="ignore" update="false" cascade="none">
<column name="`Out Type Move`" />
<column name="`Out Transport`" />
</many-to-one>
When using the not-found=ignore attribute in a many-to-one, NHibernate is issuing a query for every element not found in the collection, even when using an outer join.
In some cases this causes a significant performance overhead.
Is there a solution to this problem?
Regards
|