diff --git a/src/main/java/flab/nutridiary/product/repository/ProductCrudRepository.java b/src/main/java/flab/nutridiary/product/repository/ProductCrudRepository.java index 537c51d..6c22016 100644 --- a/src/main/java/flab/nutridiary/product/repository/ProductCrudRepository.java +++ b/src/main/java/flab/nutridiary/product/repository/ProductCrudRepository.java @@ -6,6 +6,6 @@ public interface ProductCrudRepository extends CrudRepository { - @Query("select count(*) from PRODUCT where PRODUCT_NORMALIZED_NAME = :normalizedName") + @Query("select count(*) from product where product_normalized_name = :normalizedName") Integer isExistDuplicatedProductByNormalizedName(String normalizedName); }