I\'m not able to use Spring Data JPA projections and specifications together. I have the following setup:
Entity:
@Entity public cla
If you use Specification, you can't use in CountryRepository.
CountryRepository
CountryRepository cRepository; cRepository.findAll(Specification specification);