Hi I am new to spring boot. I have a table having the following attributes: id,firstName,secondName,lastName.
Now I need to write a query (in repository), to find all those rows in my table whose firstName or secondName or lastName matches with the string I am passing.
eg: if I am passing 'foo' then it should search all the three columns and return those rows having 'foo' in any of them(this is pattern matching).
How can I do that? Thanks in advance.