Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331817 - Add Hermes JPQL Parser
Summary: Add Hermes JPQL Parser
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-03 15:36 EST by Doug Clarke CLA
Modified: 2022-06-09 10:33 EDT (History)
6 users (show)

See Also:


Attachments
Contribution approved in CQ 4629 (699.09 KB, application/x-zip-compressed)
2011-02-11 04:17 EST, Doug Clarke CLA
douglas.clarke: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Clarke CLA 2010-12-03 15:36:12 EST
Based on the contribution of a custom JPQL parser (CQ 4629) we will be adding a new utility that will leverage this parser to validate JPQL during a build. This parser may be included in the JPA runtime in the future as well.

SVN Location: /utils/eclipselink.utils.jpql-validator

Utility Name: JPQL Validator (to be used in Utils component bug's summary)

Package root: org.eclipse.persistence.jpa.jpql
Comment 1 Doug Clarke CLA 2011-02-11 04:17:07 EST
Created attachment 188755 [details]
Contribution approved in CQ 4629
Comment 2 Doug Clarke CLA 2011-02-11 04:43:33 EST
Using the approved contribution as is I created two projects. A plugin project for the Hermes parser and a Java project for the supporting test cases. The two projects are visible now at:

http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/utils/

There are still compile issues with the actual parser. Not sure I got all the necessary package imports in the manifest but it appears there is an issue with the code.

All bugs against this parser should be logged against the Utils component with [HERMES] in the subject.

Good luck and enjoy.
Comment 3 Adrian Goerler CLA 2011-03-24 12:28:41 EDT
I see much value in having the ability to validate JPQL at build time (as well as at design time). However, from my point of view, the very same parse accessing the very same metadata model should be used at runtime, build time and design time. Otherwise inconsistent checks at runtime and at build-time will be inevitable.

Therefore, I second the plan to leverage this new parser at rutime as well.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:33:23 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink