How to test if a list parameter is empty in a JPQL Spring Data JPA @Query?

前端 未结 0 1698
梦谈多话
梦谈多话 2020-11-28 07:22

I\'d like to retrieve categories of a given list, but all categories if the list is empty, using an OR condition. Something like that:

@Query         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题