Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find a list of all HQL keywords?

Where can I find a list of all HQL keywords?

like image 682
flybywire Avatar asked Feb 25 '09 14:02

flybywire


1 Answers

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").

like image 91
Dan Berindei Avatar answered Sep 18 '22 22:09

Dan Berindei