[midPoint-git] [Evolveum/midpoint] 996583: MID-11015 Updated handling of String -> byte[]

Viliam Repan noreply at github.com
Fri May 22 13:31:44 CEST 2026


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: 996583cbf65e4966c54320f9ac82322a92e408e0
      https://github.com/Evolveum/midpoint/commit/996583cbf65e4966c54320f9ac82322a92e408e0
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2026-05-22 (Fri, 22 May 2026)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepoContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/AuditInsertion.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/SqaleAuditService.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java

  Log Message:
  -----------
  MID-11015 Updated handling of String -> byte[]

Refactored usage of String.getBytes(Charset) on few places to avoid double size byte[] pre-allocation in default implementation by using streams for Strings longer than 500mb.

This will be in use probably only during tracing scenarios.

(cherry picked from commit d57db43a948845233be87315abc6b0fadf96ae7c)



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list