spring-boot Book Repository


Example

package com.mcf7.spring.domain;

import org.springframework.data.repository.PagingAndSortingRepository;

public interface BookRepository extends PagingAndSortingRepository<Book, Long> {
}

Basic Spring Repository pattern, except we enabled a Paging and Sorting Repository for extra features like.... paging and sorting :)