Open nikolatx opened 5 months ago
Hi, It would be very nice to extend JpaRepository instead of PagingAndSortingRepository in order to enable saveAndFlush()/flush() metods. Or is there another way to do saveAndFlush()?
Hi! The DataTablesRepository interface already extends JpaRepository:
DataTablesRepository
JpaRepository
https://github.com/darrachequesne/spring-data-jpa-datatables/blob/4a9653b408238daa7f7bceadd80eca0ef601e4e1/src/main/java/org/springframework/data/jpa/datatables/repository/DataTablesRepository.java#L21-L22
Or am I missing something?
Hi, It would be very nice to extend JpaRepository instead of PagingAndSortingRepository in order to enable saveAndFlush()/flush() metods. Or is there another way to do saveAndFlush()?