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 tp.project.trafficviolationsystem.repository.DriverRepository.java

/**
 *
 * @author Hannes
 */
public interface DriverRepository extends JpaRepository<Driver, Long> {

From source file any.shop.repository.ItemRepository.java

/**
 *
 * @author sjovic
 */
@Repository
public interface ItemRepository extends JpaRepository<Item, Long> {

From source file com.blogspot.na5cent.resourcelocal.repo.AuthorityRepo.java

/**
 *
 * @author anonymous
 */
public interface AuthorityRepo extends JpaRepository<Authority, String> {

From source file edu.kpi.repo.PersonRepo.java

/**
 * @author Hmelmin
 */
@Repository
public interface PersonRepo extends JpaRepository<Person, Integer> {

From source file spring.repositories.AccountRepository.java

@Repository
public interface AccountRepository extends JpaRepository<Account, Integer> {

    public Account findOneByLogin(String username);

}

From source file tp.project.trafficviolationsystem.repository.OfficerRepository.java

/**
 *
 * @author Hannes
 */
public interface OfficerRepository extends JpaRepository<Officer, Long> {

From source file any.shop.repository.BuyerRepository.java

/**
 *
 * @author sjovic
 */
@Repository
public interface BuyerRepository extends JpaRepository<Buyer, Long> {

From source file ch.thp.proto.ws.spring.batch.company.domain.AddressRepository.java

/**
 *
 * @author thierry
 */
@Repository
public interface AddressRepository extends JpaRepository<Address, Integer> {

From source file ch.thp.proto.ws.spring.batch.company.domain.CompanyRepository.java

/**
 *
 * @author thierry
 */
@Repository
public interface CompanyRepository extends JpaRepository<Company, Integer> {

From source file by.bsuir.finance.repositories.contract.CompanyRepository.java

/**
 *
 * @author igor
 */
public interface CompanyRepository extends JpaRepository<Company, Integer> {
    public List<Company> findByIdCompany(int idCompany);