package devopsdistilled.operp.server.data.repo;

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

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

@Repository
public interface ProductRepository extends JpaRepository<Product, Long> {
	
}

@@ -42,16 +42,40 @@
 .repo;%0A%0A
+import java.util.List;%0A%0A
 import o
@@ -327,8 +327,69 @@
 %3E %7B%0A
-%09
+%0A%09public List%3CProduct%3E findByProductName(String productName);%0A
 %0A%7D%0A

Add findByProductName()