Well wouldn't NHibernate be slow _every_ time i run this query then? if it has to create the objects? After all it has no problems doing so the 2nd time i click the button. Also afaik EF also has to create these objects.
I'm willing to give the stateless session a try though, how would i implement that? On 12 aug, 14:36, jobsamuel <samu...@gmail.com> wrote: > I saw a similar thread sometime back in this forum where it was a > similar issue. the query was fast but NH was taking long time to > create the entities (there was a large number of entities being loaded > in the same query). > I dont remember the outcome of the discussion but I remember some > suggestion of using stateless session. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---