I have created some HQL's for Nhiberante 2.1.0 Alpha2
example

Select new SomeClass(k.Ident, Sum(k.Qty),Max(k.ProductName))
>From OrderItem k
Group by k.Ident
Order by sum(k.Qty) desc

Work's fine!!

Nhiberante 2.1.0 Alpha3 Release notes.
....
* Antlr3.Runtime.dll is required
.....

The same class build with this version of NHibernate returns error
with no meanig to me, what is wrong here.

"Exception of type 'Antlr.Runtime.EarlyExitException' was thrown.
[Select new ......
StackTrace:
at NHibernate.Hql.Ast.ANTLR.ErrorCounter.ThrowQueryException()
at NHibernate.Hql.Ast.ANTLR.HqlSqlGenerator.Generate()
at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.DoCompile
(IDictionary`2 replacements, Boolean shallow, String collectionRole)
at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Compile(IDictionary`2
replacements, Boolean shallow)
at NHibernate.Engine.Query.HQLQueryPlan..ctor(String hql, String
collectionRole, Boolean shallow, IDictionary`2 enabledFilters,
ISessionFactoryImplementor factory)
at NHibernate.Engine.Query.HQLQueryPlan..ctor(String hql, Boolean
shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor
factory)
at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(String
queryString, Boolean shallow, IDictionary`2 enabledFilters)
at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(String query,
Boolean shallow)
at NHibernate.Impl.AbstractSessionImpl.CreateQuery(String
queryString).....


Any body have an idea, how to solve this problem.

Thank you

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