开发者

Usecases that really need Hibernate HQL over JPQL

I know JPQL is a subset of HQL.

Are there any practical usecases (please give examples) that really need HQL specific features to be used (that means it is impossible or considerably difficult with JP开发者_如何学PythonQL) to implement them?


Each time you want to use one of the expressions/functions listed in the HQL documentation, and which is not supported by JPQL :

  • second, minute, etc.
  • user additions to the dialect
  • etc.


I conclude that there is no practical usecase that is impossible or considerably difficult to implement only with JPQL (without using HQL)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜