Community
Participate
Working Groups
To test the new JPQL parser utility (Bug 331817) it would be ideal if it were possible to run the full LRG test suite through it. This would help validate equivalence between it and the ANTLR parser. Removing direct dependencies on the ANTLR parser by introducing a parser interface is the first step in making it possible to run the LRG with the utility parser.
Created attachment 185387 [details] Initial set of JPAQueryBuilder interfaces and ANTLR Implementation The attached patch file contains the proposed interfaces and mechanism for making JPQL query parsing and DatabaseQuery construction pluggable. Also included is a default implementation that utilizes the existing ANTLR based parser/converter. The included code has been built and passes the jpa and srg tests in my environment against a MySql db. Let me know if there are any changes I need to make or additional information I can provide.
Created attachment 207145 [details] Updated for 2.4 code stream This patch also includes parsing a selection criteria through the pluggable parser
This is fixed in 2.4
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink