From d326ca162ab81c51379d6209886929f89ba52770 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Fri, 5 Jul 2024 13:31:07 +0200 Subject: [PATCH] fix the type holder, still doesn't resolve the issue --- .../data/jdbc/core/convert/MappingJdbcConverterUnitTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/convert/MappingJdbcConverterUnitTests.java b/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/convert/MappingJdbcConverterUnitTests.java index d02adae0a0c..d1044886516 100644 --- a/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/convert/MappingJdbcConverterUnitTests.java +++ b/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/convert/MappingJdbcConverterUnitTests.java @@ -75,6 +75,9 @@ class MappingJdbcConverterUnitTests { new JdbcCustomConversions(List.of(CustomIdToLong.INSTANCE)), // typeFactory // ); + { + context.setSimpleTypeHolder(converter.getConversions().getSimpleTypeHolder()); + } @Test // DATAJDBC-104, DATAJDBC-1384