For example a user repository,
interface PersonRepository extends Repository<User, Long> {      
   List<Person> findByEmailAddressAndLastname(EmailAddress emailAddress, String lastname); 
}
Is there a way to achieve findByEmailAddressAndLastname(null, "lastname") = findByLastname("lastname"), because after I add more parameters in user entity, the number of method name query increase exponentially. I want to reduce the redundancy.
Thanks.
 
    