How can i inner join a subquery in JPQL

一个人想着一个人 提交于 2019-12-04 10:05:37

Your query seems quite pathological, perhaps say what result you are trying to query, and include your object model.

In general, JPQL does not support sub-selects in the from clause, so your query is not directly convertable to JPQL.

You can always just execute it as a JPA native SQL query, since you seem to be comfortable with SQL than JPQL.

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