Commit 24e5d6785b136581f2adc44d10a6e520a636886d

Authored by jcartign
1 parent a90c1b4b

Add gitignore and a little hint

.gitignore 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +/target/
0 \ No newline at end of file 2 \ No newline at end of file
src/main/java/fr/plil/sio/examen/repositories/AnimalRepository.java
@@ -9,7 +9,8 @@ public interface AnimalRepository extends JpaRepository<Animal,Long> { @@ -9,7 +9,8 @@ public interface AnimalRepository extends JpaRepository<Animal,Long> {
9 9
10 /** 10 /**
11 * NOTE: this is an important example to help you with the findByXXX methods 11 * NOTE: this is an important example to help you with the findByXXX methods
12 - * in the comment repository. 12 + * in the comment repository (hint: findByName works with a String, what
  13 + * about other kind of object ?).
13 */ 14 */
14 List<Animal> findByOwner(Owner owner); 15 List<Animal> findByOwner(Owner owner);
15 } 16 }