@Query assume JPA QL
Answered
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 sign in to leave a comment.
Please vote for https://youtrack.jetbrains.com/issue/IDEA-122719.