NHibernate - Eager Fetch and Pagination in one query

Let’s consider these mappings: <class name="Item" table="Item"> <id name="Id" column="Id" type="int"> <generator class="native" /> </id> <property name=&


NHibernate - Eager Fetch, Order By and a strange behavior with ICriteria

Working on Dexter I encountered a very strange NHibernate behavior (I’m using NHIbernate 2.1.2 GA and this is very close to be a bug in my opinion) while trying to apply the eager fetch mode to a child collection whose mapping contains an order-by at