crudrepository findBy method signature with multiple in operators?

The Solution to crudrepository findBy method signature with multiple in operators? is


The following signature will do:

List<Email> findByEmailIdInAndPincodeIn(List<String> emails, List<String> pinCodes);

Spring Data JPA supports a large number of keywords to build a query. IN and AND are among them.

~ Answered on 2015-09-26 11:07:06


Most Viewed Questions: