How can I add columns dynamically to a Spring Data JPA @Query

后端 未结 3 1046
-上瘾入骨i
-上瘾入骨i 2021-01-23 03:43

Consider the following method on a Spring Data JPA interface:

@Query(\"select distinct :columnName from Item i\")
List findByName(@Param(\"columnName         


        
3条回答
提交回复
热议问题