package it.gov.aifa.invoice_processor.service.persistence;
import org.springframework.data.repository.PagingAndSortingRepository;

import it.gov.aifa.invoice_processor.entity.invoice.InvoiceVersion;

public interface InvoiceVersionRepository extends PagingAndSortingRepository<InvoiceVersion, String> {
}
package it.gov.aifa.invoice_processor.service.persistence;
import org.springframework.data.repository.CrudRepository;

import it.gov.aifa.invoice_processor.entity.invoice.InvoiceVersion;

public interface InvoiceVersionRepository extends CrudRepository<InvoiceVersion, String> {
}
Use a CrudRepository instead of a PagingAndSortingRepository