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

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

Introduction

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

Usage

From source file io.isoft.system.repository.SysRoleRepository.java

public interface SysRoleRepository extends Repository<SysRole, Long> {
    SysRole findByRoleCode(String roleCode);
}

From source file io.smalldata.ohmageomh.data.repository.EndUserRepository.java

/**
 * A repository of user accounts.
 *
 * @author Emerson Farrugia
 */
public interface EndUserRepository extends Repository<EndUser, String> {

From source file com.rambird.repository.springdatajpa.SpringDataVetRepository.java

/**
 * Spring Data JPA specialization of the {@link VetRepository} interface
 *
 * @author Michael Isvy
 * @since 15.1.2013
 */

From source file com.rambird.repository.springdatajpa.SpringDataVisitRepository.java

/**
 * Spring Data JPA specialization of the {@link VisitRepository} interface
 *
 * @author Michael Isvy
 * @since 15.1.2013
 */

From source file com.oreilly.springdata.gemfire.core.CustomerRepository.java

/**
 * Repository interface to access {@link Customer}s.
 * 
 * @author Oliver Gierke
 * @author David Turanski
 */

From source file comsat.sample.data.jpa.service.CityRepository.java

interface CityRepository extends Repository<City, Long> {

    Page<City> findAll(Pageable pageable);

    Page<City> findByNameContainingAndCountryContainingAllIgnoringCase(String name, String country,
            Pageable pageable);

From source file sample.data.jpa.service.InventoryRepository.java

/**
 * @author Mebin.Jacob
 */
interface InventoryRepository extends Repository<Inventory, Long> {

    List<Inventory> findByUser(User user);

From source file com.frank.search.solr.repository.SolrRepository.java

/**
 * @param <T>
 * @param <ID>
 * @author Christoph Strobl
 */
@NoRepositoryBean

From source file org.mum.samples.etrip.repository.springdatajpa.SpringDataVetRepository.java

/**
 * Spring Data JPA specialization of the {@link VetRepository} interface
 *
 * @author Michael Isvy
 * @since 15.1.2013
 */

From source file com.nixmash.springdata.jpa.repository.UserConnectionRepository.java

public interface UserConnectionRepository extends Repository<UserConnection, String> {

    UserConnection findByUserId(String userId) throws DataAccessException;

}