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> {
}
@@ -95,32 +95,20 @@
 ository.
-PagingAndSorting
+Crud
 Reposito
@@ -235,24 +235,12 @@
 nds 
-PagingAndSorting
+Crud
 Repo

Use a CrudRepository instead of a PagingAndSortingRepository