Fix !!!!!!!!!!!!!!!!!!


[Test]
        public void Test()
        {

            var plan = CreateQueryPlan("FROM User u JOIN u.Country c", 
false);
            //Check(plan.ReturnMetadata, false, true);
            foreach(var type in plan.ReturnMetadata.ReturnTypes)
            {
                Log.DebugFormat("name: {0}", type.Name);
            }
        }

        public IQueryPlan CreateQueryPlan(string hql, bool scalar)
        {
            var sessionFactory = 
(ISessionFactoryImplementor)SessionFactory.GetNHSessionFactory();
            var plan = sessionFactory.QueryPlanCache.GetHQLQueryPlan(hql, 
false,
                  new CollectionHelper.EmptyMapClass<string, IFilter>());
            return plan;
        }

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to