Example usage for org.springframework.data.repository CrudRepository interface-usage

List of usage examples for org.springframework.data.repository CrudRepository interface-usage

Introduction

In this page you can find the example usage for org.springframework.data.repository CrudRepository interface-usage.

Usage

From source file demo.repository.RootRepository.java

/**
 *
 * @author jllach
 */
@Repository
public interface RootRepository extends CrudRepository<Root, Long> {

From source file com.ar.hotwiredautorepairshop.repository.CustomerRepository.java

/**
 *
 * @author Anders
 */
@Repository
public interface CustomerRepository extends CrudRepository<Customer, String> {

From source file com.dub.skoolie.data.dao.schedule.GradingPeriodRepository.java

/**
 *
 * @author Kevin W
 */
public interface GradingPeriodRepository extends CrudRepository<GradingPeriod, Long> {

From source file com.xumpy.collections.dao.crud.CollectionDetailDao.java

/**
 *
 * @author nico
 */
public interface CollectionDetailDao extends CrudRepository<CollectionDetailDaoPojo, Integer> {

From source file com.xumpy.collections.dao.crud.PersonCollectionDao.java

/**
 *
 * @author nico
 */
public interface PersonCollectionDao extends CrudRepository<PersonCollectionDaoPojo, Integer> {

From source file com.dub.skoolie.data.dao.schedule.ClassTimeBlockRepository.java

/**
 *
 * @author Kevin W
 */
public interface ClassTimeBlockRepository extends CrudRepository<ClassTimeBlock, Long> {

From source file vente.service.CategorieService.java

/**
 *
 * @author ajc
 */
@Service
public interface CategorieService extends CrudRepository<Categorie, Long> {

From source file za.ac.cput.project.honeyorder.repository.InvoiceRepository.java

/**
 *
 * @author Ancel
 */
public interface InvoiceRepository extends CrudRepository<Invoice, Long> {
    public Invoice findByInvoiceId(long invoiceId);

From source file za.ac.cput.project.honeyorder.repository.ProductRepository.java

/**
 *
 * @author Ancel
 */
public interface ProductRepository extends CrudRepository<Product, Long> {
    public Product findByProductId(long productId);

From source file demo.repository.RelatedRepository.java

/**
 *
 * @author jllach
 */
@Repository
public interface RelatedRepository extends CrudRepository<Related, Long> {