You can avoid it setting the AutoFlush to Never and only call Flush explicitly when needed.
2009/11/2 Fabio Maulo <[email protected]> > have a look to IStatistics to know how many not read-only entities you have > loaded to the session. > > 2009/11/2 Nick <[email protected]> > > >> Hi, >> >> I would like to know what is performed during the "transaction >> completion" process. >> >> I have a problem on a machine where it takes nearly 5 seconds to >> execute, but I don't know where to look at : >> >> >> 2009-11-02 16:36:30,875 [1] DEBUG NHibernate.Impl.SessionImpl - >> initializing non-lazy collections >> 2009-11-02 16:36:30,875 [1] DEBUG NHibernate.Impl.ConnectionManager - >> after autocommit >> 2009-11-02 16:36:30,875 [1] DEBUG NHibernate.Impl.ConnectionManager - >> aggressively releasing database connection >> 2009-11-02 16:36:30,875 [1] DEBUG NHibernate.Impl.SessionImpl - >> transaction completion >> 2009-11-02 16:36:35,578 [1] DEBUG NHibernate.Impl.SessionImpl - opened >> session >> 2009-11-02 16:36:35,578 [1] DEBUG NHibernate.Impl.SessionImpl - >> flushing session >> >> >> Any ideas ? >> >> Thanks. >> >> >> >> > > > -- > Fabio Maulo > -- 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 -~----------~----~----~----~------~----~------~--~---
