Skip to content

Commit

Permalink
fix : persist 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-1116 committed Jun 5, 2024
1 parent db383c7 commit 67ab632
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public class FriendInvite extends BaseEntity {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@ManyToOne(fetch = FetchType.LAZY, cascade = CascadeType.PERSIST)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "owner_id", nullable = false)
private Member owner;

@ManyToOne(fetch = FetchType.LAZY, cascade = CascadeType.PERSIST)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "friend_id", nullable = false)
private Member friend;

Expand Down

0 comments on commit 67ab632

Please sign in to comment.