com.fasterxml.jackson.databind.exc.InvalidDefinitionException 에러를 처리하기 위해 - theme의 fetchType을 EAGER로 변경

This commit is contained in:
2023-10-17 17:28:30 +09:00
parent 99d7510c32
commit 3537f22197
2 changed files with 2 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ data class AudioContent(
var content: String? = null
var coverImage: String? = null
@OneToOne(fetch = FetchType.LAZY)
@OneToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "theme_id", nullable = false)
var theme: AudioContentTheme? = null