I've been looking for hours but can't find what is missing in the following query:
SELECT count(*) FROM Request r JOIN r.status status WHERE r.uniqueId = '123456'
I get the following exception:
java.sql.SQLSyntaxErrorException: ORA-00905: missing keyword
I think you missed the keyword AS
according to Doc :
SELECT count(*)
FROM Request r INNER JOIN
r.status AS status -- AS missed
WHERE r.uniqueId = '123456'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.