【发布时间】:2021-10-29 11:01:58
【问题描述】:
我想从 JPA findBy 方法创建一个 JPA 查询
select * from somTable where Col1 =1
and (col2 > 0 or col2 = 0)
and (col3 > 0 or col3 = 0)
and (col4 >0 or col4 =0)
and (col5 >0 or col5 =0)
【问题讨论】:
标签: jpa spring-data-jpa