package devopsdistilled.operp.server.data.repo.items;

import java.util.List;

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

import devopsdistilled.operp.server.data.entity.items.Product;
import devopsdistilled.operp.server.data.repo.items.custom.ProductRepositoryCustom;

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

	public List<Product> findByProductName(String productName);

}

@@ -52,32 +52,8 @@
 s;%0A%0A
-import java.util.List;%0A%0A
 impo
@@ -435,21 +435,15 @@
 lic 
-List%3C
 Product
-%3E
  fin

Change return type to Product for findByProductName()