Hi,

My query with fetch detail table doesnt initialize details as i can
see on NHibernate Profiler,
when i call them yes its coming from 2nd level cache but because it
doesn't initialize them so i can't use automapper
NHibernateUtil.IsInitialized to map DTO.

Like
session.QueryOver<Blog>().Fetch(q =>
q.Posts).Eager.Cacheable().CacheMode(CacheMode.Normal)

Bu it only getting N:"Blog" from 2nd level cache and not getting every
Posts belongs to Blogs and this state Posts are not
NHibernateUtil.IsInitalized

Any solution for this ?

Thanks

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