hql « Tomcat « JPA Q&A

1. HQL works on Tomcat not on Oracle AppServer 10.1.3?    stackoverflow.com

When running an app on Tomcat I don't get any error. When running on Oracle (OC4J) 10.1.3 I get the following:

org.hibernate.hql.ast.QuerySyntaxError: unexpected end of subtree [   
SELECT c, cc, ...

2. hql working in hibernate console but not in tomcat    forum.hibernate.org

Newbie Joined: Tue Apr 26, 2005 2:48 am Posts: 1 Hi, I have a problem with a hql query containing the group by clause. It works in hibernate console but not in my spring webapp (tomcat). I use hibernate 2.1.7 with postgresql 7.4. The mapping documents are all generated with middlegen. Here is the hql query : select count(*), sum(sp.malespecimen + ...