Where can I find a list of all HQL keywords?
我在哪里可以找到所有HQL关键字的列表?
3 个解决方案
#1
2
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.
在完整的Hibernate源代码下载中,有一个语法\ hql.g文件,它是ANTLR语言定义。您可以在此处从官方GitHub源存储库中查看此文件的最新版本。
In the tokens
section you'll find all the tokens, including the keywords (they're the ones defined as strings, e.g. ALL="all"
).
在标记部分,您将找到所有标记,包括关键字(它们是定义为字符串的标记,例如ALL =“all”)。
#2
-1
Try this...not sure if it's complete or exact, but it may be, as it's a list of HQL tokens.
试试这个...不确定它是完整的还是确切的,但它可能是,因为它是一个HQL令牌列表。
#3
-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:
这是Hibernate 2的BNF,我不确定它是否与上面提到的hql.g文件格式相同:
http://www.hibernate.org/89.html
http://www.hibernate.org/89.html
#1
2
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.
在完整的Hibernate源代码下载中,有一个语法\ hql.g文件,它是ANTLR语言定义。您可以在此处从官方GitHub源存储库中查看此文件的最新版本。
In the tokens
section you'll find all the tokens, including the keywords (they're the ones defined as strings, e.g. ALL="all"
).
在标记部分,您将找到所有标记,包括关键字(它们是定义为字符串的标记,例如ALL =“all”)。
#2
-1
Try this...not sure if it's complete or exact, but it may be, as it's a list of HQL tokens.
试试这个...不确定它是完整的还是确切的,但它可能是,因为它是一个HQL令牌列表。
#3
-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:
这是Hibernate 2的BNF,我不确定它是否与上面提到的hql.g文件格式相同:
http://www.hibernate.org/89.html
http://www.hibernate.org/89.html