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
-~----------~----~----~----~------~----~------~--~---

Reply via email to