Skip to content

Commit

Permalink
Refactor/3 query (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
in-seo authored Jan 3, 2024
2 parents 12b2494 + 2c6cce7 commit db30aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SouP/src/main/java/Matching/SouP/domain/post/Lounge.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Lounge extends BaseTimeEntity {
@OneToMany(mappedBy = "lounge", cascade = CascadeType.REMOVE)
private List<LoungeConnect> loungeConnectList = new ArrayList<>();

@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne()
@JoinColumn(name = "user_id")
private User user; //작성자

Expand Down
4 changes: 1 addition & 3 deletions SouP/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -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
spring.profiles.include=oauth, real, real-db

0 comments on commit db30aba

Please sign in to comment.