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

Viliam Repan noreply at github.com
Fri May 22 13:26:07 CEST 2026


  Branch: refs/heads/support-4.10
  Home:   https://github.com/Evolveum/midpoint
  Commit: 3fa486a83f5a5b4c423cbfc0f654bbc65bdf1281
      https://github.com/Evolveum/midpoint/commit/3fa486a83f5a5b4c423cbfc0f654bbc65bdf1281
  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
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/QObjectReferenceFullObjectMapping.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