NH version and/or HQL parser you are using ?

2009/8/6 c.sokun <[email protected]>

>
> I tried to issue the following HQL
>
> select c.Field1/10000, sum(c.Field2) from ClassC as c where c.Field3
> = :p1 group by c.Field1/10000
>
> QueryException:
> Message:
>    ',' expected in SELECT before:/ [select c.Field1/10000, sum
> (c.Field2) from NAMESPACE.ClassC c where c.Field3 = :p1 group by
> c.Field1/10000]
>
> What had gone wrong?
> >
>


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

Reply via email to