DetteRepository.java
432 Bytes
/*
* 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 fr.plil.sio.web.mvc;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
public interface DetteRepository extends JpaRepository<Dette,Long>{
List<Dette> findByBorrower(User borrower);
}