Skip to content

Commit 24bc9d5

Browse files
committed
Fix Spring Data compilation after Spring bump upstream
1 parent 191f2d2 commit 24bc9d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

602-spring-data-rest/src/main/java/org/acme/spring/data/rest/BookRepository.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55

66
import org.springframework.data.domain.Page;
77
import org.springframework.data.domain.Pageable;
8+
import org.springframework.data.repository.CrudRepository;
89
import org.springframework.data.repository.PagingAndSortingRepository;
910
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
1011
import org.springframework.data.rest.core.annotation.RestResource;
1112

1213
@RepositoryRestResource(exported = false, path = "books", collectionResourceRel = "books")
13-
public interface BookRepository extends PagingAndSortingRepository<Book, Long> {
14+
public interface BookRepository extends PagingAndSortingRepository<Book, Long>, CrudRepository<Book, Long> {
1415

1516
@Override
1617
@RestResource(exported = true)

0 commit comments

Comments
 (0)