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

Dmitry Geraskov (Created) (JIRA) jira-events at lists.jboss.org
Thu Nov 10 03:08:46 EST 2011


Query parameter is necessary for QueryExporter but is not required by polugins
------------------------------------------------------------------------------

                 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.Beta2


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