From a2fa690371d3e5fbcd20d1f7496b9d95d0e77ea4 Mon Sep 17 00:00:00 2001 From: CHAE Date: Thu, 25 Jan 2024 15:37:43 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Fix:=20UserRepository=20entityGrap?= =?UTF-8?q?h=20=EA=B4=80=EB=A0=A8=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#152)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/diareat/diareat/user/repository/UserRepository.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/diareat/diareat/user/repository/UserRepository.java b/src/main/java/com/diareat/diareat/user/repository/UserRepository.java index 2010047..d9eac11 100644 --- a/src/main/java/com/diareat/diareat/user/repository/UserRepository.java +++ b/src/main/java/com/diareat/diareat/user/repository/UserRepository.java @@ -1,7 +1,6 @@ package com.diareat.diareat.user.repository; import com.diareat.diareat.user.domain.User; -import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; @@ -9,7 +8,6 @@ public interface UserRepository extends JpaRepository { - @EntityGraph(attributePaths = {"roles"}) List findAllByNameContaining(String name); // 회원이 팔로우를 위해 검색한 유저 목록 조회 boolean existsByName(String name); // 회원가입 시 닉네임 중복 확인