You're correct... that's the long answer :-) But unless you specify that, the answer to "shouldn't each entity in a list, when queried via the criteria API, be a proxy" is no, as that's not the default behavior, nor the expected behavior with his mapping and query.
Diego PD: quedó largo el disclaimer, pero vos me entendés :-) On Thu, Oct 29, 2009 at 13:39, Fabio Maulo <[email protected]> wrote: > lazy=extra and some specific indexed collection (for example <map> > IDictionary). > > 2009/10/29 Diego Mijelshon <[email protected]> > > Short answer: no. >> >> Diego >> >> >> >> On Thu, Oct 29, 2009 at 11:22, lcorneliussen <[email protected]>wrote: >> >>> >>> Hi all together! >>> >>> I'm sure I am missing something, but shouldn't each entity in a list, >>> when queried via the criteria API, be a proxy that enables lazy >>> loading? >>> >>> I posted my question on stack overflow. The code is more readable over >>> there: >>> >>> >>> http://stackoverflow.com/questions/1643905/nhibernate-creates-proxy-via-session-load-but-not-via-linq-or-criteria-api >>> >>> Any hints appreciated. >>> >>> - Lars >>> >>> >>> >> >> >> > > > -- > 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 -~----------~----~----~----~------~----~------~--~---
