Lets say I've the following table,
MOVIE_TITLE
- Batman Begins
- Batman Returns
- Return of the Jedi
- The Lord of the Rings: The Return of the King
- Shakespeare in Love
- Dead Poets Society
- Deadpool
- The Lord of the Rings: The Fellowship of the Ring
I'd like to implement a search on the movie title and pass comma separated values (search with multiple keywords)
For example,
search text: Batman result: Records #1,2
search text: Batman, Return result: Records #1,2,3,4
search text: Lord, Love result: Records #4,5,8
Without looping for each of the keyword, can this be implemented in one call using the LIKE search (or something else) in Spring Data JPA?
Thanks