By the way... setting all associations in the mapping to lazy=false results in always eager loading of data but the trying to force it with SetFetchMode(string, FetchMode.Lazy) does not result in a lazy loading for that association.
I really would expect that * FetchMode.Default : would use the lazy loading defined in the mapping * FetchMode.Lazy : would use lazy loading * FetchMode.Select : would result in eager loading without a join * FetchMode.Join : would result in eager loading with a join * FetchMode.Eager : would use eager loading and using either "Select" or "Join" depending on the mapping configuration I am totally confused about this and it seems that I cannot configuration lazy / eager loading with the criteria api and only in the mapping. The only enum values with documentation are FetchMode.Select and FetchMode.Join and both only refer to fetch="*" and outer-join="*" and not to lazy="true/false". Ramon -- 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.
