FetchType 변경
This commit is contained in:
@@ -34,7 +34,7 @@ public class Server {
|
||||
@Column(name = "IS_ENABLED", columnDefinition = "boolean default true")
|
||||
private boolean enabled;
|
||||
|
||||
@OneToMany(mappedBy = "server", cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
|
||||
@OneToMany(mappedBy = "server", cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true)
|
||||
private List<ServerOption> serverOptions = new ArrayList<>();
|
||||
|
||||
public Long getId() {
|
||||
|
||||
Reference in New Issue
Block a user