Hi, Michael/Tom,
Please review the changes for issue 550
https://glassfish.dev.java.net/issues/show_bug.cgi?id=550
The JPQL query compiler sometimes throws a misleading error message for
an invalid query. It complains about an unexpected token, where the
token named in the error message is correct, but the following token is
unexpected.
The problem is in EJBQLParser.g. I fix several places in .g file to
cover 10 different test cases. Also the test cases are added to
JUnitEJBQLValidationTestSuite.java.
Thanks.
Jielin