개발/Spring

[Spring] CrudRepository 와 JpaRepository 의 차이점

hojak99 2018. 7. 28. 00:09

JpaRepository extends PagingAndSortingRepository which in turn extends CrudRepository.

Their main functions are:

Because of the inheritance mentioned above, JpaRepository will have all the functions of CrudRepository and PagingAndSortingRepository. So if you don't need the repository to have the functions provided by JpaRepository and PagingAndSortingRepository , use CrudRepository.


그렇다고 한다. 



반응형