Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
2 votes
1 answer
4k views

how to use ignore case in spring JPA @query?

I have query as below: @Query("SELECT b FROM Brand b WHERE b.name1 LIKE %:name1% or b.name2 like %:name2%") List<Brand> findSome(@Param("name1") String name1, @Param("name2") String name2); I ...
mikezang's user avatar
  • 2,465
202 votes
9 answers
521k views

SQL- Ignore case while searching for a string

I have the following data in a Table PriceOrderShipped PriceOrderShippedInbound PriceOrderShippedOutbound In SQL I need to write a query which searches for a string in a table. While searching for a ...
shockwave's user avatar
  • 3,212