Spring Data JPA generates the implementation of repositories from a simple interface that extends JpaRepository<Entity, Id>. It provides save, findById, findAll, deleteById, pagination and sorting, without writing any data access code. You add query methods by naming convention.
Example
interface ClientRepository extends JpaRepository<Client, Long> {}