Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.59 KB

File metadata and controls

36 lines (21 loc) · 1.59 KB

Spring Data JPA Repository Hierarchy

Base Interface is Repostiory which is extended by CrudRepository which is extended by PagingAndSortingRepository which is extended by JpaRepository

public interface JpaRepository<T, ID> extends PagingAndSortingRepository<T, ID>, QueryByExampleExecutor public interface PagingAndSortingRepository<T, ID> extends CrudRepository<T, ID> public interface CrudRepository<T, ID> extends Repository<T, ID> public interface Repository<T, ID>

Repository -> CrudRepository >PagingAndSortingRepository > JpaRepository , QueryByExampleExecutor

Getting Started

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely: