Where can I find a list of all HQL keywords?

 ̄綄美尐妖づ 提交于 2019-12-08 20:56:17

问题


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



来源:https://stackoverflow.com/questions/586185/where-can-i-find-a-list-of-all-hql-keywords

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!