NHibernate 3 and Future with Lazy Load?

You can't override a lazy="false in the mapping with SetFetchMode.

You can't override a lazy="false" in the mapping with SetFetchMode. Personally, I recommend you never use lazy="false". Recommended read: N just live with it.

Thanks for your answer. What I was trying to figure out is why in my 1st example (without Future) it doesn't override?! You said you don't like to use lazy=false.

What would you do if you want to load all the details of each order? Thanks. – LeftyX May 21 at 17:21 @LeftyX: I would use either batch-size on the collections with a reasonable value, or a manual call (with or without Future), as described here – Diego Mijelshon May 21 at 17:57 what would you suggest if you wanted to load an entity and a detail entity in a non-lazy mode?

– LeftyX May 27 at 13:07 @LeftyX: you can use SetFetchMode/Fetch/join fetch depending on your query method. – Diego Mijelshon May 27 at 14:02.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions