@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.

0

Please sign in to leave a comment.