【发布时间】:2021-02-15 19:26:24
【问题描述】:
例子:
Select * from student where roll_no in (1,2,3);
在学生存储库中(Spring Boot):
@Query(value="Select * from student where roll_no in (?)",native =true)
List selectStudents(我在这里给什么?)
或者还有其他方法可以实现吗?
【问题讨论】:
标签: java mysql spring-boot hibernate jpa