diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2024-10-02 21:31:04 +0100 |
---|---|---|
committer | danielhanrahan <daniel.hanrahan@est.tech> | 2024-10-03 21:04:09 +0100 |
commit | 153aa48c6945cfc54ceb1b3f6a38508ad93f1d16 (patch) | |
tree | 9b4510292b2efd1e11d34f4493d7604ea98d2172 /test-tools/test-deregistration.sh | |
parent | 2686ec95a09bafa2846860d403516f89cb2ed0c0 (diff) |
[BUG] Fix memory leak related to using arrays in Hibernate
The use of arrays like String[] instead of Collection<String> in
JpaRepository methods is causing a memory leak, most likely due to a
bug in the hypersistence-utils dependency which provides the feature.
Note code using arrays in JDBC (via jdbcTemplate) is not affected.
This patch removes most uses of arrays in Java, except one needed for
FragmentPrefetchRepository using JDBC setArray(), which is safe.
Issue-ID: CPS-2430
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I94f8c3d4c8c32ebe0978c08d3226a196a95bf3b9
Diffstat (limited to 'test-tools/test-deregistration.sh')
0 files changed, 0 insertions, 0 deletions