Issue Details (XML | Word | Printable)

Key: HHH-3687
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Steve Ebersole
Reporter: Steve Ebersole
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hibernate Core
HHH-2407

Formalize new HQL parse phase

Created: 06/Jan/09 01:20 PM   Updated: 06/Jan/09 01:28 PM
Component/s: query-hql
Affects Version/s: antlr-rework
Fix Version/s: antlr-rework

Time Tracking:
Not Specified


 Description  « Hide
An undocumented prerequisite to this is the creation of a basic set of SQL tokens and a basic SQL lexer.

Some specific improvements I want to keep in mind:
1) make distinction between different types of paths as we are parsing them. This could mean either by referencing a SessionFactory, etc (for entity-name resolution e.g.) or by asserting what we are expecting according to the current syntax elements. I chose the latter as it kept this phase cleaner w/o needing to inject SessionFactory etc.
2) Better alignment with SQL specs in terms of AST. This is a general goal for all the phases.
3) verboseness over succinctness where applicable for maintainability.

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.