Fixes for eager loading (#1748)

* fix

* cleanups!

* fix

---------

Co-authored-by: a <a>
This commit is contained in:
Anthony Stirling
2024-08-23 15:45:53 +02:00
committed by GitHub
parent c7e5987342
commit cdf31622e2
3 changed files with 7 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ public class User implements Serializable {
@OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL, mappedBy = "user")
private Set<Authority> authorities = new HashSet<>();
@ElementCollection
@ElementCollection(fetch = FetchType.EAGER)
@MapKeyColumn(name = "setting_key")
@Lob
@Column(name = "setting_value", columnDefinition = "CLOB")