Friday, April 8, 2011

Where can I find a list of all HQL keywords?

Where can I find a list of all HQL keywords?

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

  • In the full Hibernate zip download there is a grammar\hql.g file, which is the ANTLR definition for the language.

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

  • 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

0 comments:

Post a Comment