Where can I find a list of all HQL keywords?

2019-06-20 06:29发布

Where can I find a list of all HQL keywords?

3条回答
时光不老,我们不散
2楼-- · 2019-06-20 06:56

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

查看更多
虎瘦雄心在
3楼-- · 2019-06-20 07:03

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

查看更多
We Are One
4楼-- · 2019-06-20 07:10

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

查看更多
登录 后发表回答