package devopsdistilled.operp.server.data.repo;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import devopsdistilled.operp.server.data.entity.Manufacturer;

@Repository	
public interface ManufacturerRepository extends JpaRepository<Manufacturer, Long> {

}

@@ -42,16 +42,40 @@
 .repo;%0A%0A
+import java.util.List;%0A%0A
 import o
@@ -128,16 +128,16 @@
 sitory;%0A
-
 import o
@@ -257,9 +257,8 @@
 tory
-%09
 %0Apub
@@ -301,17 +301,19 @@
  extends
- 
+%0A%09%09
 JpaRepos
@@ -340,11 +340,86 @@
 Long%3E %7B%0A
+%09public List%3CManufacturer%3E findByManufacturerName(String manufacturerName);
 %0A%7D%0A

Add findByManufacturerName