Fix Audit & Usage Analytics Sections (#5586)

Fixed issue where @lob annotation on audit column was casing
`org.postgresql.util.PSQLException: Large Objects may not be used in
auto-commit mode.` data retrieval issues with Postgres
This commit is contained in:
Dario Ghunney Ware
2026-01-29 16:51:52 +00:00
committed by GitHub
parent 41f9929fd2
commit d486bb4939
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,8 @@ public class PersistentAuditEvent {
private String principal;
private String type;
@Lob private String data; // JSON blob
@Column(columnDefinition = "text")
private String data; // JSON blob
private Instant timestamp;
}

View File

@@ -87,7 +87,6 @@ public class User implements UserDetails, Serializable {
@ElementCollection
@MapKeyColumn(name = "setting_key")
@Lob
@Column(name = "setting_value", columnDefinition = "text")
@CollectionTable(name = "user_settings", joinColumns = @JoinColumn(name = "user_id"))
@JsonIgnore