I have a use-case in which I have to write a query having nested INNER
JOIN. Using Metamodel Api, we can write the query but while execution, it
is throwing following exception-

*org.eobjects.metamodel.query.parser.QueryParserException: Not capable of
parsing FROM token.*

It is throwing exception as in QueryParser.parse() function, it is trying
to fetch the from clause without considering that it can also have the
nested inner query as mentioned in the following screenshot -

[image: Inline images 1]

*Although <query>.toSql() is returning a valid query*.

So now I am trying to write query without nested inner query. If this is a
valid use-case so there should be provision to write it.



Thanks,
Balendra

Reply via email to