From 1e25f8dba1a224d1e8df4586b74031531254c27f Mon Sep 17 00:00:00 2001 From: inseo Date: Wed, 3 Jan 2024 11:11:49 +0900 Subject: [PATCH 1/2] =?UTF-8?q?optimize:=20=EB=9D=BC=EC=9A=B4=EC=A7=80?= =?UTF-8?q?=EC=9D=98=20ManyToOne(=ED=8E=98=EC=B9=98=ED=83=80=EC=9E=85=20?= =?UTF-8?q?=3D=20LAZY)=EB=A5=BC=20=EC=A0=9C=EA=B1=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SouP/src/main/java/Matching/SouP/domain/post/Lounge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SouP/src/main/java/Matching/SouP/domain/post/Lounge.java b/SouP/src/main/java/Matching/SouP/domain/post/Lounge.java index 5cf3029..f65dda9 100644 --- a/SouP/src/main/java/Matching/SouP/domain/post/Lounge.java +++ b/SouP/src/main/java/Matching/SouP/domain/post/Lounge.java @@ -23,7 +23,7 @@ public class Lounge extends BaseTimeEntity { @OneToMany(mappedBy = "lounge", cascade = CascadeType.REMOVE) private List loungeConnectList = new ArrayList<>(); - @ManyToOne(fetch = FetchType.LAZY) + @ManyToOne() @JoinColumn(name = "user_id") private User user; //작성자 From 2c6cce746f30e7b394107656f2f32a960baa818e Mon Sep 17 00:00:00 2001 From: inseo Date: Wed, 3 Jan 2024 11:12:27 +0900 Subject: [PATCH 2/2] =?UTF-8?q?logging=20:=20application.properties=20?= =?UTF-8?q?=EB=A1=9C=EA=B9=85=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SouP/src/main/resources/application.properties | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SouP/src/main/resources/application.properties b/SouP/src/main/resources/application.properties index 452f9f3..ada8987 100644 --- a/SouP/src/main/resources/application.properties +++ b/SouP/src/main/resources/application.properties @@ -1,3 +1 @@ -spring.profiles.include=oauth, real, real-db -logging.level.org.hibernate.type.descriptor.sql=trace -spring.jpa.properties.hibernate.format_sql=true \ No newline at end of file +spring.profiles.include=oauth, real, real-db \ No newline at end of file