@Query assume JPA QL
已回答
In Spring, the language injection for the org.springframework.data.jpa.repository.Query annotation uses JPA QL as the injected language. But when you add ', nativeQuery = true', it should be injecting pure SQL instead.
请先登录再写评论。
Please vote for https://youtrack.jetbrains.com/issue/IDEA-122719.