Skip to content

Commit

Permalink
CascadeType.MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
s148719 committed Dec 5, 2023
1 parent 05435cb commit f9fed0a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Behandling(
@OneToMany(
fetch = FetchType.EAGER,
mappedBy = "behandling",
cascade = [CascadeType.ALL],
cascade = [CascadeType.MERGE],
orphanRemoval = true,
)
var inntekter: MutableSet<Inntekt> = mutableSetOf(),
Expand All @@ -98,7 +98,7 @@ class Behandling(
@OneToMany(
fetch = FetchType.EAGER,
mappedBy = "behandling",
cascade = [CascadeType.ALL],
cascade = [CascadeType.MERGE],
orphanRemoval = true,
)
var utvidetbarnetrygd: MutableSet<Utvidetbarnetrygd> = mutableSetOf(),
Expand Down

0 comments on commit f9fed0a

Please sign in to comment.