6

Where can I find a list of all HQL keywords?

flybywire
  • 261,858
  • 191
  • 397
  • 503

3 Answers3

3

In the full Hibernate source download there's a grammar\hql.g file, which is the ANTLR language definition. You can view the latest version of this file from the official GitHub source repository here.

In the tokens section you'll find all the tokens, including the keywords (they're the ones defined as strings, e.g. ALL="all").

Community
  • 1
  • 1
Dan Berindei
  • 7,054
  • 3
  • 41
  • 48
-1

Try this...not sure if it's complete or exact, but it may be, as it's a list of HQL tokens.

Raibaz
  • 9,280
  • 10
  • 44
  • 65
-1

Here is the BNF for Hibernate 2, I am not sure if this is in the same format as the hql.g files as mentioned above:

http://www.hibernate.org/89.html

Matt Sidesinger
  • 2,124
  • 1
  • 22
  • 18