User
UserDetail
Note: For all the scenarios we are querying User entity only. userRepository.findByLastName(lastname)
userRepository.findByLastName(lastname)