Is it possible to eager load over two one-to-many relationships in NHibernate?

It is possible that you retrieve a huge amount of data.

It is possible that you retrieve a huge amount of data. In order to do it, you'll have to use the 'SetFetchMode' method of the ICriteria that you'll use to retrieve the instances. Something like this: ICriteria crit = session.

CreateCriteria (typeof(Category)); crit. SetFetchMode ("SubCategories", FetchMode. Eager); Or, maybe by using CreateAlias: ICriteria crit = session.

CreateCriteria (typeof(Category)); crit. CreateAlias ("SubCategories", "sc", JoinType. LeftOuterJoin); crit.

CreateAlias ("sc. Products", "p", JoinType. InnerJoin); perhaps you'll have to play a bit with the possible JoinTypes, depending on your situation / what you want.

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