posted 3 years ago
So, I created a very basic project with Spring Boot where you put in a product and search for it, edit it, delete it, etc.
However, the find by name only works if you type in the exact name. Here is my controller class.
How would I make it so that if the product was "shoes" but someone types in "shoe" it will still come up. Do I need to make a custom query in the repository class?
I'm still very new to this, as you can tell, if you can help get me started with this, I'd appreciate it.