Hi Tom, hi Jielin,
I fixed issue 1163: "EJBQLParser - null exception for invalid JPQL
String":
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1163
The attached jar JPQL-fix1163-060925.jar includes the code changes and a
new test in entity-persistence-tests. I changed the method in
EJBQLParserBase mapping the internal ANTLRException to the
EJBQLException thrown to indicate an invalid query. The old
implementation missed to handle some specific ANTLRExceptions, such that
it returned null as the mapped EJBQLException.
Thanks!
Regards Michael