[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-3687) Formalize new HQL parse phase

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Jan 6 14:29:38 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole updated HHH-3687:
--------------------------------

             Assignee: Steve Ebersole
          Description: 
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.
    Affects Version/s: antlr-rework
        Fix Version/s: antlr-rework
          Component/s: query-hql

> Formalize new HQL parse phase
> -----------------------------
>
>                 Key: HHH-3687
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3687
>             Project: Hibernate Core
>          Issue Type: Sub-task
>          Components: query-hql
>    Affects Versions: antlr-rework
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: antlr-rework
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list