jpa case-insensitive in-clause for a list of string values

后端 未结 2 1676
执笔经年
执笔经年 2021-01-15 16:22

I want to know if JPQL is capable of doing a case-insensitive search on a collection of string.

Scenario:

Table1:

Column1 (int)  | Column2(s         


        
2条回答
  •  无人及你
    2021-01-15 16:47

    No you cannot. Reason is that UPPER and LOWER operate to the strings, so they do not take collection as argument.

提交回复
热议问题