package devopsdistilled.operp.server.data.repo;

import java.util.List;

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> {

	public List<Product> findByProductName(String productName);

}

@@ -235,16 +235,94 @@
 Product;
+%0Aimport devopsdistilled.operp.server.data.repo.custom.ProductRepositoryCustom;
 %0A%0A@Repos
@@ -398,16 +398,43 @@
 t, Long%3E
+,%0A%09%09ProductRepositoryCustom
  %7B%0A%0A%09pub

Extend ProductRepositoryCustom