Skip to content

Commit eaf570b

Browse files
committed
Fix LazyInitializationException
Signed-off-by: fugasjunior <mail@martinfunda.cz>
1 parent 993f45c commit eaf570b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main/java/cz/forgottenempire/servermanager/workshop/WorkshopMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class WorkshopMod {
3939
@Enumerated(EnumType.STRING)
4040
private ServerType serverType;
4141

42-
@ElementCollection
42+
@ElementCollection(fetch = FetchType.EAGER)
4343
@CollectionTable(name = "workshop_mod_bikey")
4444
@Column(name = "bikey")
4545
private Set<String> biKeys = new HashSet<>();

0 commit comments

Comments
 (0)