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

0

请先登录再写评论。