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 com.orange.clara.tool.repos.WatchedResourceRepo.java

/**
 * Copyright (C) 2016 Orange
 * <p>
 * This software is distributed under the terms and conditions of the 'Apache-2.0'
 * license which can be found in the file 'LICENSE' in this package distribution
 * or at 'https://opensource.org/licenses/Apache-2.0'.

From source file com.shane.servicecenter.repository.VehicleRepository.java

/**
 *
 * @author SHANE
 */
@Repository
public interface VehicleRepository extends CrudRepository<Vehicle, Long> {

From source file com.malsolo.mongodb.humongous.repositories.ArticleRepository.java

/**
 *
 * @author jbeneito
 */
public interface ArticleRepository extends CrudRepository<Article, ObjectId> {

From source file com.shane.servicecenter.repository.InvoiceRepository.java

/**
 *
 * @author SHANE
 */
@Repository
public interface InvoiceRepository extends CrudRepository<Invoice, Long> {

From source file com.shane.servicecenter.repository.ManagerRepository.java

/**
 *
 * @author SHANE
 */
@Repository
public interface ManagerRepository extends CrudRepository<Manager, Long> {

From source file pe.com.bpm.evo.repository.QrtzPausedTriggerGrpsRepository.java

/**
 *
 * @author Prueba
 */
public interface QrtzPausedTriggerGrpsRepository
        extends CrudRepository<QrtzPausedTriggerGrps, QrtzPausedTriggerGrpsPK> {

From source file com.web.mavenproject6.repositories.UserRepository.java

/**
 *
 * @author Aleks
 */
public interface UserRepository extends CrudRepository<Users, Long> {

From source file security.UserRepository.java

/**
 *
 * @author Soukaina
 */
public interface UserRepository extends CrudRepository<User, Long> {

From source file ch.heigvd.gamification.services.dao.AuthenKeyRepository.java

/**
 *
 * @author Thibaut-PC
 */
public interface AuthenKeyRepository extends CrudRepository<AuthenKey, Long> {
    AuthenKey findByAppKey(String appKey);

From source file com.hp.autonomy.frontend.find.core.savedsearches.SavedSearchRepository.java

@NoRepositoryBean
public interface SavedSearchRepository<S extends SavedSearch<S>> extends CrudRepository<S, Long> {

    Set<S> findByActiveTrueAndUser_UserId(Long userId);

    S findByActiveTrueAndIdAndUser_UserId(Long id, Long userId);