I am making a Spring web application and I am using Spring Data.
I can use Spring Data to search for objects by a single field value. For example:
some_object_repository.findByFirstName("John")
Is there a way that I can provide the first two names (for example, "John", "David"), similar to the following in concept:
some_object_repository.findByFirstName({"John", "David"})
write custom implementation without me?
With respect and gratitude!
spring spring-data spring-data-jpa
curious1
source share