CodeNewbie Community 🌱

Discussion on: Using Advanced LIKE Expressions in Spring boot

Collapse
 
theplebdev profile image
Tristan • Edited
  • I would actually not recommend my above code any more. I have had issues with it in production. Instead I changed to derived query method, documentation can be found here: docs.spring.io/spring-data/jpa/doc...
  • The solution is : List<BlogPost>findByTitleIgnoreCaseContaining(String title);
  • I can't remember the exact code that gave me issues but It was a bug with the LIKE %:title% statements