Commit 4e0ba16b985af4abfa1598fb3a5d5f9391a88029
1 parent
db5ac50a
Examen terminé.
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/main/java/fr/plil/sio/web/mvc/DetteRepository.java
... | ... | @@ -5,8 +5,10 @@ |
5 | 5 | */ |
6 | 6 | package fr.plil.sio.web.mvc; |
7 | 7 | |
8 | +import java.util.List; | |
8 | 9 | import org.springframework.data.jpa.repository.JpaRepository; |
9 | 10 | |
10 | 11 | public interface DetteRepository extends JpaRepository<Dette,Long>{ |
11 | - | |
12 | + List<Dette> findByBorrower(User borrower); | |
13 | + | |
12 | 14 | } | ... | ... |