From 432073cf1693ba2a06094766ac08586f105c80f1 Mon Sep 17 00:00:00 2001 From: euics Date: Thu, 18 Sep 2025 14:46:12 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20SolutionEntity=20@Where=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=ED=95=98=EC=97=AC=20EntityNotFoundException=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @Where(clause = "deleted = false") 어노테이션 제거 - 소프트 삭제된 데이터도 조회 가능하도록 변경 - 삭제된 엔티티 참조 시 발생하던 예외 방지 --- .../solution/solution/domain/SolutionEntity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/startwithco/startwithbackend/solution/solution/domain/SolutionEntity.java b/src/main/java/startwithco/startwithbackend/solution/solution/domain/SolutionEntity.java index 54dfb63..e3dcee8 100644 --- a/src/main/java/startwithco/startwithbackend/solution/solution/domain/SolutionEntity.java +++ b/src/main/java/startwithco/startwithbackend/solution/solution/domain/SolutionEntity.java @@ -14,7 +14,6 @@ @Entity @Inheritance(strategy = InheritanceType.JOINED) @SQLDelete(sql = "UPDATE SOLUTION_ENTITY SET deleted = true WHERE solution_seq = ?") -@Where(clause = "deleted = false") @AllArgsConstructor @NoArgsConstructor @Getter