1. jpql order by subquery produces unexpected AST node exception stackoverflow.comI translated a working (postgre)sql query to jpql, but hibernate throws a org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node exceptionThese are my core model classes:
|
2. Mixing the new AST and the classic query parsers forum.hibernate.org |
3. unexpected AST node: query forum.hibernate.orgNo - I think that was a seperate probem. I think that this one is due to the following in hql-sql.g:- Code: arithmeticExpr : #(PLUS expr expr) { prepareArithmeticOperator( #arithmeticExpr ); } | #(MINUS expr expr) { prepareArithmeticOperator( #arithmeticExpr ); ... |
4. modifying HQL queries using the AST forum.hibernate.orghi everyone, I'm trying to programmatically manipulate an HQL query. for example, given an HQL query, I'd like to produce a second query that counts the result set size of the first query. I know that Criteria objects are an effective way to accomplish dynamically constructed queries, but please believe that starting with HQL instead is desirable in my circumstances. The ... |
5. unexpected AST node: query forum.hibernate.orgim using IBM DB2 when i use case statement in my named query (HQL) im getting the following error [4/10/07 14:43:23:937 GMT+05:30] 5d70923e PARSER E org.hibernate.hql.PARSER *** ERROR: |