Skip to content

Commit

Permalink
ManyToOne annotation에 FetchType.LAZY추가 [#8]
Browse files Browse the repository at this point in the history
  • Loading branch information
chd830 committed Sep 21, 2022
1 parent af29591 commit e47f397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/feelmycode/parabole/domain/Product.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class Product {
@Column(name = "product_id")
private Long id;

@ManyToOne
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "seller_id")
private Seller sellers;

Expand Down

0 comments on commit e47f397

Please sign in to comment.