concept Spring Data JDBC in category spring

This is an excerpt from Manning's book Spring in Action, Sixth Edition.
Spring Data JDBC is available as a starter dependency for Spring Boot apps. When added to the project’s pom.xml file, the starter dependency looks like this:
When you created the
JdbcTemplate-based versions of the repositories, you explicitly declared the methods you wanted the repository to provide. But with Spring Data JDBC you were able to dismiss the explicit implementation classes and instead extend theCrudRepositoryinterface. As it turns out,CrudRepositoryworks equally well for Spring Data JPA. For example, here’s the newIngredientRepositoryinterface:package tacos.data; import org.springframework.data.repository.CrudRepository; import tacos.Ingredient; public interface IngredientRepository extends CrudRepository<Ingredient, String> { }In fact, the
IngredientRepositoryinterface we’ll use with Spring Data JPA is identical to the one we defined for use with Spring Data JDBC. TheCrudRepositoryinterface is commonly used across many of Spring Data’s projects, regardless of the underlying persistence mechanism. Similarly, you can defineOrderRepositoryfor Spring Data JPA the same as it was for Spring Data JDBC: