NHibernate Paging: Keeping Skip/Take in SQL When Fetching Collections
Join-fetching a collection in NHibernate can duplicate root rows and force first/max results into memory. Page identifiers instead, then batch the graph with future queries.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Join-fetching a collection in NHibernate can duplicate root rows and force first/max results into memory. Page identifiers instead, then batch the graph with future queries.
NHibernate Future Queries batch multiple reads into a single database round trip. This post shows the API, a concrete dashboard example, driver behavior differences, and the limits you'll hit with stateless sessions, parameter caps, and all-or-nothing error handling.