Skip to content

Commit

Permalink
Update Inntekt.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
s148719 committed Dec 5, 2023
1 parent bde1982 commit 05435cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Inntekt(
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long? = null,
@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "behandling_id", nullable = false)
val behandling: Behandling? = null,
@OneToMany(fetch = FetchType.EAGER, mappedBy = "inntekt", cascade = [CascadeType.ALL], orphanRemoval = true)
Expand Down

0 comments on commit 05435cb

Please sign in to comment.