Do you want know how many hit to DB you have in a opened session ?Do you can detail what you really want know ?
I'm asking because there are various ways to intercept or simply to know what NH are doing or is going to do. A very detailed event is the LoadEvent but, perhaps, is too much for your needs. 2008/10/19 Pedro Santos <[EMAIL PROTECTED]> > > Hello, > > Is there a way to intercept all the lazy loading? I've been checking > out listeners and interceptors, but I don't really know what to use. > What I'd really like, was to be notified everytime NHibernate lazy > loads something. > > I want this because sometimes I end up lazy loading a lot of stuff > that I don't really want, and most of the times I don't even know > about it. How do you handle this? Is there an easy way to protect from > this? > > Thank you for your time. > Best Regards, > > -- > Pedro Santos > Home - http://psantos.zi-yu.com > Work - http://www.pdmfc.com > The future - http://www.orionsbelt.eu > > > > -- 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 -~----------~----~----~----~------~----~------~--~---
