[jbosstools-issues] [JBoss JIRA] (JBIDE-10148) Query parameter is necessary for QueryExporter but is not required by plugins

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Wed Feb 29 11:15:37 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Peterka closed JBIDE-10148.
--------------------------------



Verified - jbosstools-3.3_stable_branch.aggregate-Update-2012-02-24_23-15-15-H93, L64
                
> Query parameter is necessary for QueryExporter but is not required by plugins
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-10148
>                 URL: https://issues.jboss.org/browse/JBIDE-10148
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 3.3.0.M4
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>             Fix For: 3.3.0.Beta1
>
>
> The exception is thrown when run QueryExporter from ui without "query" parameter set:
> org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree []
> 	at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
> 	at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)
> 	at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:82)
> 	at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:261)
> 	at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185)
> 	at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136)
> 	at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
> 	at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
> 	at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:98)
> 	at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
> 	at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
> 	at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1760)
> 	at org.hibernate.tool.hbm2x.QueryExporter.doStart(QueryExporter.java:36)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list