Skip to content

Commit 77a0f4d

Browse files
committed
Follow through with the split of CRUD repository and sorting repository.
Closes #2436 See spring-projects/spring-data-commons#2537
1 parent 9b9cb5a commit 77a0f4d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<hibernate>5.6.0.Final</hibernate>
2727
<mysql-connector-java>8.0.23</mysql-connector-java>
2828
<postgresql>42.2.19</postgresql>
29-
<springdata.commons>3.0.0-SNAPSHOT</springdata.commons>
29+
<springdata.commons>3.0.0-2537-split-pagingandsortingrep-SNAPSHOT</springdata.commons>
3030
<vavr>0.10.3</vavr>
3131

3232
<hibernate.groupId>org.hibernate</hibernate.groupId>

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

Lines changed: 2 additions & 1 deletion
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)