antlr « HQL « JPA Q&A





1. How to create hql.antlr source    forum.hibernate.org

2. org.hibernate.hql.antlr    forum.hibernate.org

3. org.hibernate.hql.antlr.SqlTokenTypes ?    forum.hibernate.org

Max, cvs build work, but build don't move source classes from build/gensrc (antlr classes) For example, I have cvs in Hibernate3 dir and build make directory hibernate-3.1 (now) hibernate3.jar is correct (binaries), but src file in hibernate-3.1 haven't antlr classes (like SqlTokenTypes) - this classes are in Hibernate3/build/gensrc - I make eclipse project with hibernate-3.1 and move antlr classes from Hibernate3 ...

4. Source code of org.hibernate.hql.antlr.* ?    forum.hibernate.org

Thanks. I just dowloaded it, and tried to get it to work, but .. Code: \src\main\antlr>java -classpath ..\..\..\..\..\..\antlrworks-1.2.3.jar org.antlr .Tool hql.g Code: error(100): hql.g:1:1: syntax error: antlr: hql.g:1:1: unexpected token: header warning(149): hql.g:0:0: rewrite syntax or operator with no output option; setti ng output=AST error(150): grammar file hql.g has no rules error(100): hql.g:0:0: syntax error: assign.types: :0:0: unexpected end of ...

5. org.hibernate.hql.antlr.HqlBaseParser.unaryExpression    forum.hibernate.org

We have recently migrated from hibernate 2.1 to 3.0 version, while migrating we faced the following issues unresolved. Thanks to hibernate since the document provides the basic migration steps. The given query threw exception while parsed by hibernate 3.0 SELECT indv,a, p , indv1.firstName, indv1.lastName, indv2.firstName, indv2.lastName FROM com.domain.IndividualXAddress i,com.domain.Address a, com.domain.User indv, com.domain.User indv1,com.domain.User indv2 , com.domain.Payer p WHERE i.userId ...

6. org.hibernate.hql.antlr files    forum.hibernate.org