[hibernate-issues] [Hibernate-JIRA] Resolved: (ANN-380) Need more info about error place

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Aug 25 18:46:24 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-380?page=all ]
     
Emmanuel Bernard resolved ANN-380:
----------------------------------

    Resolution: Incomplete

no additional information provides

> Need more info about error place
> --------------------------------
>
>          Key: ANN-380
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-380
>      Project: Hibernate Annotations
>         Type: Improvement

>   Components: binder
>     Versions: 3.2.0.cr1
>  Environment: Version Hibernate EntityManager 3.2.0.CR1
> Version Hibernate Annotations 3.2.0.CR1
>  Environment Hibernate 3.2 cr2
>     Reporter: Sergey Vladimirov

>
>
> Need more info where error occured. For example, query name.
> java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.IdentNode
>  \-[IDENT] IdentNode: 'user' {originalText=user}
>         at org.hibernate.hql.ast.tree.SelectClause.initializeExplicitSelectClause(SelectClause.java:145)
>         at org.hibernate.hql.ast.HqlSqlWalker.useSelectClause(HqlSqlWalker.java:714)
>         at org.hibernate.hql.ast.HqlSqlWalker.processQuery(HqlSqlWalker.java:538)
>         at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:645)
>         at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
>         at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
>         at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
>         at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
>         at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
>         at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
>         at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
>         at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
>         at org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:400)
>         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:351)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1218)
>         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:630)
>         at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:759)
>         at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:626)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list