Where can I find a list of all HQL keywords?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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"
).
回答2:
Try this...not sure if it's complete or exact, but it may be, as it's a list of HQL tokens.
回答3:
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