Example usage for org.springframework.data.jpa.repository JpaRepository interface-usage

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

Introduction

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

Usage

From source file x595.CarRepository.java

public interface CarRepository extends JpaRepository<Car, Long> {

    public List<Car> findByOrderByMakerAsc();

    public List<Car> findByLicenseInfoOwnerName(String ownerName);

From source file org.vaadin.peholmst.samples.dddwebinar.domain.licensing.LicenseTypeRepository.java

public interface LicenseTypeRepository extends JpaRepository<LicenseType, Long> {
}

From source file org.vaadin.peholmst.samples.dddwebinar.domain.doctors.LicenseRepository.java

public interface LicenseRepository extends JpaRepository<License, Long> {

    Collection<License> findByDoctor(Doctor doctor);
}

From source file com.saggezza.assetmanagement.repository.LicenseTypeRepository.java

/**
 * Created by muthuraj.mariappan on 5/19/2016.
 */
public interface LicenseTypeRepository extends JpaRepository<LicenseType, Integer> {
}

From source file com.audi.interview.booking.jpa.repository.VehicleRepository.java

/**
 * For Spring Data JPA query methods see:
 * http://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods
 */
public interface VehicleRepository extends JpaRepository<Vehicle, Long> {

From source file info.harmia.polyglot.springapp.mvc.core.repository.EmployeeRepository.java

/**
 * Created with IntelliJ IDEA.
 * User: harmia
 * Date: 16.4.2013
 * Time: 16:02
 * Copyright (C) 2013 Juhana "harmia" Harmanen

From source file info.harmia.polyglot.springapp.mvc.core.repository.DepartmentRepository.java

/**
 * Created with IntelliJ IDEA.
 * User: harmia
 * Date: 16.4.2013
 * Time: 20:43
 * Copyright (C) 2013 Juhana "harmia" Harmanen

From source file info.harmia.polyglot.springapp.mvc.core.repository.MunicipalityRepository.java

/**
 * Created with IntelliJ IDEA.
 * User: harmia
 * Date: 16.4.2013
 * Time: 21:58
 * Copyright (C) 2013 Juhana "harmia" Harmanen

From source file org.jboss.pnc.datastore.repositories.LicenseRepository.java

public interface LicenseRepository extends JpaRepository<License, Integer>, QueryDslPredicateExecutor<License> {

}

From source file app.dao.LicenseDao.java

@Repository
@Transactional
public interface LicenseDao extends JpaRepository<License, Long> {

}