Hi,
Eclipse version: 3.1M6 (is this ok, JBossIDE forum has it as the last working Eclipse version and I have been using it with the JBoss tools for weeks now)
JBoss-IDE version: JBossIDE-1.5M1
JDK: 1.5.0_03
DB: HSQLDB 1.8.0
New to the hibernate part of the tools. Have managed to follow the video tutorial (javascript:popup_window('/hib_docs/tools/viewlets/createcfgxml_viewlet_swf.html','createcfgxml',1048,816);) for creating the connection and reverse engineering the classes. However when I try and look at the hibernate console mapped entries (after create session factory) I get "unexpected end of subtree" exceptions reported in the error log. Stack details at the end of the post. To clarify there is no subtree of Mapped Entities available!
The data am I using is just test data generated by HSQLDB database management tool. The source files and mappings look fine. My next step is to go and bundle this all up as an app and to try and make HQL calls directly from application code rather than eclipse to see if there is really a non-tool related query issue.
I am probably missing something obvious, any help appreciated!
Regards,
John
Here is the contents of the exception.
<AST>:0:0: unexpected end of subtree
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2237)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:498)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:356)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:184)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:140)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:189)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:130)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83)
at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:414)
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:814)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:773)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at org.hibernate.console.HQLQueryPage.getList(HQLQueryPage.java:30)
at org.hibernate.eclipse.console.views.QueryPageViewer$ContentProviderImpl.getElements(QueryPageViewer.java:80)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:765)
...
|