Nothing to worry about I think. The ported hibernate version had the same issue.
________________________________________ Från: [email protected] [[email protected]] för rachel [[email protected]] Skickat: den 24 februari 2009 17:55 Till: nhusers Ämne: [nhusers] "LoadContexts Cleanup" Warning Hello, Using Nhibernate 2.01 (I'm not a very experienced nhibernate user), I get this log4net warning: LoadContexts Cleanup - fail-safe cleanup (collections) : NHibernate.Engine.Loading.CollectionLoadContext The code I use is very simple: public IList<Alert> GetByAttributes(DateTime startTimeUTC, DateTime? endTimeUTC) { using (ISession session = NHibernateHelper.OpenSession()) { ICriteria criteria = session.CreateCriteria(typeof (Alert)); Conjunction conj = Expression.Conjunction(); conj.Add(Expression.Ge("DeliveryTimeUTC", startTimeUTC)); if (endTimeUTC != null) conj.Add(Expression.Le("DeliveryTimeUTC", (DateTime)endTimeUTC)); criteria.Add(conj); return criteria.List<Alert>(); } } Can anyone help me understand what is the meaning of this warning? Thanks, Rachel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
