com.cxplonka.feature.service.repository.CustomerRepository.java Source code

Java tutorial

Introduction

Here is the source code for com.cxplonka.feature.service.repository.CustomerRepository.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cxplonka.feature.service.repository;

import com.cxplonka.feature.domain.Customer;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 *
 * @author cplonka
 */
public interface CustomerRepository extends JpaRepository<Customer, Long> {

    List<Customer> findByLastNameStartsWithIgnoreCase(String lastName);
}