-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 8.10-HF20
-
Fix Version/s: None
-
Component/s: Audit
When trying to put a long comment in the audit trail via the AuditLogger service with a SQL backend (PgSQL in our case), the call fails with a org.hibernate.exception.DataException: Could not execute JDBC batch update exception (see attached file).
The problem lies in the size of the column for the comment which is set to 1024 characters when using JPA based LogEntry.
On our side, we opted for abbreviating the comment before sending is to the AudiLogger, but we think it would be nice to have the AuditLogger either accept longer comments, or maybe abbreviating it (even though it might feel disturbing for users of the AuditLogger).