问题:
What is the difference between CrudRepository
and JpaRepository
interfaces in Spring Data JPA? Spring Data JPA中的CrudRepository
和JpaRepository
接口有什么区别?
When I see the examples on the web, I see them there used kind of interchangeably. 当我在网上看到这些例子时,我看到它们在那里可以互换使用。 What is the difference between them? 他们之间有什么区别? Why would you want to use one over the other? 你为什么要用一个而不是另一个?
解决方案:
参考一: https://stackoom.com/question/wnhe/Spring-Data-JPA中的CrudRepository和JpaRepository接口有什么区别参考二: https://oldbug.net/q/wnhe/What-is-difference-between-CrudRepository-and-JpaRepository-interfaces-in-Spring-Data-JPA
来源:oschina
链接:https://my.oschina.net/u/3797416/blog/4285435