How it can be fixed in 3.2 when [~Derek Chen-Becker] has the same bug with 4.05GA. By the way we are using 4.1.10 Final and have the same Bug. But in our case the removing of the FullQualifiedPath doesnt work, but leads to an other "has no Path exception"
14:18:40 DEBUG [communication.comhandler.webshop.ComHandlerShopUtil] sqlStatement : select SAR.generatedId, AR.artikelLfdNr, MOD.eMVModellNr from ShopArtikel SAR inner join db.artikel.Artikel AR inner join db.artikel.Modell MOD 14:18:40 DEBUG [org.hibernate.hql.internal.ast.QueryTranslatorImpl] parse() - HQL: select SAR.generatedId, AR.artikelLfdNr, MOD.eMVModellNr from db.webshop.ShopArtikel SAR inner join db.artikel.Artikel AR inner join db.artikel.Modell MOD 14:18:40 DEBUG [org.hibernate.hql.internal.ast.QueryTranslatorImpl] — HQL AST — -[QUERY] Node: 'query' -[SELECT_FROM] Node: 'SELECT_FROM' +-[FROM] Node: 'from'
+-[RANGE] Node: 'RANGE'
|
|
+-[DOT] Node: '.'
|
|
|
+-[DOT] Node: '.'
|
|
|
|
+-[IDENT] Node: 'db'
|
|
|
|
-[IDENT] Node: 'webshop'
|
|
|
-[IDENT] Node: 'ShopArtikel'
|
|
-[ALIAS] Node: 'SAR'
|
+-[JOIN] Node: 'join'
|
|
+-[INNER] Node: 'inner'
|
|
+-[DOT] Node: '.'
|
|
|
+-[DOT] Node: '.'
|
|
|
|
+-[IDENT] Node: 'db'
|
|
|
|
-[IDENT] Node: 'artikel'
|
|
|
-[IDENT] Node: 'Artikel'
|
|
-[ALIAS] Node: 'AR'
|
-[JOIN] Node: 'join'
|
+-[INNER] Node: 'inner'
|
+-[DOT] Node: '.'
|
|
+-[DOT] Node: '.'
|
|
|
+-[IDENT] Node: 'db'
|
|
|
-[IDENT] Node: 'artikel'
|
|
-[IDENT] Node: 'Modell'
|
-[ALIAS] Node: 'MOD' -[SELECT] Node: 'select' +-[DOT] Node: '.'
|
+-[IDENT] Node: 'SAR'
|
-[IDENT] Node: 'generatedId' +-[DOT] Node: '.'
|
+-[IDENT] Node: 'AR'
|
-[IDENT] Node: 'artikelLfdNr' -[DOT] Node: '.' +-[IDENT] Node: 'MOD' -[IDENT] Node: 'eMVModellNr'
|
14:18:40 DEBUG [org.hibernate.hql.internal.ast.ErrorCounter] throwQueryException() : no errors 14:18:40 DEBUG [org.hibernate.hql.internal.antlr.HqlSqlBaseWalker] select << begin [level=1, statement=select] 14:18:40 DEBUG [org.hibernate.hql.internal.ast.tree.FromElement] FromClause {level=1}
: db.webshop.ShopArtikel (SAR) -> shopartike0_ 14:18:40 DEBUG [org.hibernate.hql.internal.ast.util.LiteralProcessor] setSQLValue() db.artikel.Artikel -> null 14:18:40 DEBUG [org.hibernate.hql.internal.ast.tree.FromReferenceNode] Resolved : db.artikel.Artikel -> null 14:18:40 WARN [communication.comhandler.ServerCommunicationHandler] java.lang.IllegalStateException: DOT node with no left-hand-side! at org.hibernate.hql.internal.ast.tree.DotNode.getLhs(DotNode.java:616) at org.hibernate.hql.internal.ast.tree.DotNode.getDataType(DotNode.java:595) at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromJoinElement(HqlSqlWalker.java:380) at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.joinElement(HqlSqlBaseWalker.java:3516) at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3302) at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3180) at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:706) at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:562) at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:299) at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:247) at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:248) at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:183) at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136) at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:105) at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:80) at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) at org.hibernate.internal.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:221) at org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:199) at org.hibernate.internal.SessionImpl.createQuery(SessionImpl.java:1735)
|