Skip to content

Commit eaa8886

Browse files
author
trayanus1026
committed
Follow through with the split of CRUD repository and sorting repository.
Closes #2436 See spring-projects/spring-data-commons#2537
1 parent 4ce93f1 commit eaa8886

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaRepository.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
import org.springframework.data.domain.Example;
2323
import org.springframework.data.domain.Sort;
24+
import org.springframework.data.repository.CrudRepository;
2425
import org.springframework.data.repository.NoRepositoryBean;
2526
import org.springframework.data.repository.PagingAndSortingRepository;
2627
import org.springframework.data.repository.query.QueryByExampleExecutor;
@@ -36,7 +37,7 @@
3637
* @author Greg Turnquist
3738
*/
3839
@NoRepositoryBean
39-
public interface JpaRepository<T, ID> extends PagingAndSortingRepository<T, ID>, QueryByExampleExecutor<T> {
40+
public interface JpaRepository<T, ID> extends CrudRepository<T, ID>,PagingAndSortingRepository<T, ID>, QueryByExampleExecutor<T> {
4041

4142
@Override
4243
List<T> findAll();

0 commit comments

Comments
 (0)