Code? 2009/8/3 John <[email protected]>
> > No-one have any expanation as to why this might happen? > > On Aug 2, 4:19 pm, John Harman <[email protected]> wrote: > > I've recently found batch-size as an feature of NHibernate and I think > > it is awesome. However I am getting confused in one scenario. > > > > I set the batch-size to the maximum number of items to be loaded onto > > a page, which works brilliantly when there are 21 items to load onto > > the page. However if the page only returns 11 items NHibernate will do > > one query for 10 items and then another query for the additional one > > left. > > > > Is there a reason for this? Surely it should continue to gather all 11 > > items as the batch-size is set to 21. > > > > Thanks > > > > John > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
