Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332566

Summary: Introduce JPQL Parser Interface
Product: z_Archived Reporter: Shaun Smith <shaun.smith>
Component: EclipselinkAssignee: James Sutherland <jamesssss>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: douglas.clarke, eric.gwin, jamesssss, john.b.bracken, neil.hauge, pascal.filion, peter.krogh
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=331817
Whiteboard:
Attachments:
Description Flags
Initial set of JPAQueryBuilder interfaces and ANTLR Implementation
none
Updated for 2.4 code stream none

Description Shaun Smith CLA 2010-12-14 14:51:20 EST
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.
Comment 1 John Bracken CLA 2010-12-16 18:16:55 EST
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.
Comment 2 Pascal Filion CLA 2011-11-17 09:08:22 EST
Created attachment 207145 [details]
Updated for 2.4 code stream

This patch also includes parsing a selection criteria through the pluggable parser
Comment 3 James Sutherland CLA 2012-02-29 11:57:53 EST
This is fixed in 2.4
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:04:07 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink