I am learning Spring boot. In the DAO interface, i see some documents use CrudRepository, some use JpaRepository, some others use a Custom Generic interface.
In which case should i use CrudRepository, JpaRepository or the custom one.
here is an example of the interface
@Repository
public interface EmployeeRepository extends CrudRepository<Employee, Long> { }