[hibernate-dev] Reserved words

Gail Badner gbadner at redhat.com
Tue May 13 19:12:16 EDT 2014


This appears to be due to the first commit for HHH-9100. I've re-opened https://hibernate.atlassian.net/browse/HHH-9154 and added details there.

Steve, can you take a look?

Thanks,
Gail

----- Original Message -----
> From: "Steve Ebersole" <steve at hibernate.org>
> To: "Gail Badner" <gbadner at redhat.com>
> Cc: "Hibernate" <hibernate-dev at lists.jboss.org>
> Sent: Monday, May 12, 2014 1:58:02 PM
> Subject: Re: [hibernate-dev] Reserved words
> 
> Not really.  In general any token whose text is explicitly given in any of
> the grammars will be treated as a keyword.  Generally speaking this is
> merely an oversight when someone alters the grammars.  However, the
> definition of the OBJECT token actually hasn't changed since the SVN
> migration.  The parameter rule (and its uses) however has changed much more
> recently...  HHH-5126.  This was a change you made Gail.
> 
> One of the major improvements in the next gen parser is the move to "soft
> keywords", where keywords are contextually recognized which essentially
> removes the concept of a "reserved word".  We use that in a limited fashion
> in the current grammars.
> 
> As for this particular report, do we have a simplified test?  The Jira just
> lists the query.
> 
> 
> 
> On Mon, May 12, 2014 at 2:20 PM, Gail Badner <gbadner at redhat.com> wrote:
> 
> > As of 4.2.12, there are some identifiers that no longer work when used in
> > HQL/JPQL, e.g. [1].
> >
> > Is there a list of reserved words somewhere?
> >
> > Thanks,
> > Gail
> >
> > [1] https://hibernate.atlassian.net/browse/HHH-9154
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >
> 


More information about the hibernate-dev mailing list