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.vz.ids.solutions.data.repo.IdsActuatorMetaRepo.java

/**
 *
 * @author v086714
 */
public interface IdsActuatorMetaRepo extends CrudRepository<IdsActuatorMetaObject, String> {
    @Query("Select * from ids_solutions.ids_actuator_meta where oemName = ?0 and model = ?1")

From source file com.vz.ids.solutions.data.repo.IdsSensorMetaRepo.java

/**
 *
 * @author v086714
 */
public interface IdsSensorMetaRepo extends CrudRepository<IdsSensorMetaObject, String> {
    @Query("Select * from ids_solutions.ids_sensor_meta where oemName = ?0 and model = ?1")

From source file org.echocat.marquardt.example.persistence.jpa.UserRepository.java

@SuppressWarnings("InterfaceNeverImplemented")
public interface UserRepository extends CrudRepository<PersistentUser, Long> {
    Optional<PersistentUser> findByEmailIgnoreCase(String email);

    Optional<PersistentUser> findByUserId(UUID userId);
}

From source file programacaovi.rackmanagement.repositories.RackRepository.java

/**
 *
 * @author rodrigo.gregori
 */
@RepositoryRestResource(collectionResourceRel = "racks", path = "racks")
public interface RackRepository extends CrudRepository<Rack, Long> {

From source file com.agroservices.persistence.ProductosRepository.java

/**
 *
 * @author Andres Barrero
 */
public interface ProductosRepository extends CrudRepository<Producto, Integer> {

From source file programacaovi.rackmanagement.repositories.PainelRepository.java

/**
 *
 * @author rodrigo.gregori
 */
@RepositoryRestResource(collectionResourceRel = "paineis", path = "paineis")
public interface PainelRepository extends CrudRepository<Painel, Long> {

From source file com.agroservices.persistence.DespachosRepository.java

/**
 *
 * @author Andres Barrero
 */
public interface DespachosRepository extends CrudRepository<Despacho, Integer> {

From source file com.vz.ids.solutions.data.repo.IdsSensorModelFeatureRepo.java

/**
 *
 * @author v086714
 */
public interface IdsSensorModelFeatureRepo extends CrudRepository<IdsSensorModelFeatureObject, String> {
    @Query("Select * from ids_solutions.ids_sensor_model_feature where type = ?0")

From source file com.tservice.Persistencia.PostulanteCrudRepository.java

/**
 *
 * @author anfer_000
 */
public interface PostulanteCrudRepository extends CrudRepository<Postulante, Integer> {

From source file edu.eci.cosw.samples.persistencia.CotizacionesRepository.java

/**
 *
 * @author Usuario
 */
public interface CotizacionesRepository extends CrudRepository<Cotizacion, Integer> {