From 6eb92feed22b7d8ddcde0fe627943a35d94e105d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=AC=EC=9A=B0?= Date: Tue, 8 Oct 2024 19:35:15 +0900 Subject: [PATCH] =?UTF-8?q?refactor(repository):=20=EB=B6=88=ED=95=84?= =?UTF-8?q?=EC=9A=94=ED=95=9C=20=EA=B0=9C=ED=96=89=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/codezap/tag/repository/TagJpaRepository.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/main/java/codezap/tag/repository/TagJpaRepository.java b/backend/src/main/java/codezap/tag/repository/TagJpaRepository.java index 021057b19..06a00d318 100644 --- a/backend/src/main/java/codezap/tag/repository/TagJpaRepository.java +++ b/backend/src/main/java/codezap/tag/repository/TagJpaRepository.java @@ -27,8 +27,6 @@ default Tag fetchByName(String name) { @Query(value = "SELECT * FROM tag WHERE tag.name = BINARY :name", nativeQuery = true) Optional findByName(@Param("name") String name); - @Query( - value = "SELECT * FROM tag WHERE tag.name COLLATE utf8mb4_bin IN :names", - nativeQuery = true) + @Query(value = "SELECT * FROM tag WHERE tag.name COLLATE utf8mb4_bin IN :names", nativeQuery = true) List findAllByNames(@Param("names") List names); }