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

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

import devopsdistilled.operp.server.data.entity.items.Category;

@Repository
public interface CategoryRepository extends JpaRepository<Category, Long> {

}

@@ -315,10 +315,62 @@
 ong%3E %7B%0A%0A
+%09Category findByCategoryName(String categoryName);%0A%0A
 %7D%0A

Add findByCategoryName()