Skip to content

Commit

Permalink
Add CrudRepository as Quarkus move spring data to version 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jedla97 committed Jun 12, 2024
1 parent 191f2d2 commit c926c54
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.data.rest.core.annotation.RestResource;

@RepositoryRestResource(exported = false, path = "books", collectionResourceRel = "books")
public interface BookRepository extends PagingAndSortingRepository<Book, Long> {
public interface BookRepository extends PagingAndSortingRepository<Book, Long>, CrudRepository<Book, Long> {

@Override
@RestResource(exported = true)
Expand Down

0 comments on commit c926c54

Please sign in to comment.