Skip to content

Commit

Permalink
fix: 파일을 못찾는 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachneee committed Jul 20, 2024
1 parent d8fbf8c commit 765f481
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/main/java/server/haengdong/domain/BillAction.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package server.haengdong.domain;

import jakarta.persistence.CascadeType;
import jakarta.persistence.Entity;
import jakarta.persistence.FetchType;
import jakarta.persistence.GeneratedValue;
Expand All @@ -20,7 +21,7 @@ public class BillAction {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@OneToOne(fetch = FetchType.LAZY)
@OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
private Action action;

private String title;
Expand Down

0 comments on commit 765f481

Please sign in to comment.