As I figured out this is not related to batching and can be reproduced with 
a simplest example 
<http://stackoverflow.com/questions/31267984/nhibernate-insert-entity-with-proxy-associations-without-fetching>
.

пʼятниця, 3 липня 2015 р. 13:38:14 UTC+3 користувач Serhiy Shekhovtsov 
написав:
>
> During batch saving the method IsProcessedAfterAllAssociatedEntities is 
> called and it calls GetHashCode of the associated Entity. At this moment 
> DefaultLazyInitializer intercepts the call and fires ImmediateLoad for the 
> associated proxy entity, which leads to entity fetching.
>
> Is it a bug in NHibernate? Is it possible to prevent unproxing of related 
> entities during batch insert\update?
>
> More details here 
> <http://stackoverflow.com/questions/30981735/nhibernate-batch-saving-entities-with-proxy-associations>
> . 
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nhusers+unsubscr...@googlegroups.com.
To post to this group, send email to nhusers@googlegroups.com.
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to