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 mx.unam.ciencias.repository.LocalRepository.java

/**
 *
 * @author guillermorojas
 */
public interface LocalRepository extends CrudRepository<Local, Integer> {
    @Query("SELECT l FROM Local l")

From source file mx.unam.ciencias.repository.RutaPumaBusRespository.java

/**
 *
 * @author guillermorojas
 */
public interface RutaPumaBusRespository extends CrudRepository<RutaPumaBus, Integer> {

From source file fish.payara.examples.jdays2016.springboot.RoadworksRepository.java

/**
 *
 * @author steve
 */
public interface RoadworksRepository extends CrudRepository<PlannedWorks, Long> {

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

/**
 *
 * @author v086714
 */
public interface IdsTimelineEventRepo extends CrudRepository<IdsTimelineEventObject, String> {
    @Query("Select * from ids_solutions.ids_timeline_event where objectId = ?0 and eventType = ?1 and entityGroup = ?2 and entityId = ?3")

From source file mx.unam.pixel.repository.ComentarioRepository.java

/**
 * *Consultas para los comentarios
 * @author Enrique
 */
public interface ComentarioRepository extends CrudRepository<Comentario, Integer> {

From source file com.jcertif.abj2014.intro.spring.data.after.SessionsRepository.java

/**
 *
 * @author Komi Serge Innocent <komi.innocent@gmail.com>
 */
public interface SessionsRepository extends CrudRepository<Sessions, Long> {

From source file io.sevenluck.chat.repository.ChatChannelRepository.java

/**
 *
 * @author loki
 */
public interface ChatChannelRepository extends CrudRepository<ChatChannel, Long> {

From source file br.edu.ifrn.apifyp.repository.AvaliacaoRepository.java

/**
 *
 * @author mateus
 */
public interface AvaliacaoRepository extends CrudRepository<Avaliacao, Long> {
    List<Avaliacao> findByUsuario(Usuario usuario);

From source file br.com.ajaio.midas.repository.ContaRepository.java

/**
 *
 * @author antonio.amorim
 */
@Repository
public interface ContaRepository extends CrudRepository<ContaEntity, Long> {

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

/**
 *
 * @author anfer_000
 */
public interface FacturaCrudRepository extends CrudRepository<Factura, Integer> {
    @Query("select count(*) from Factura")