From 334f58f0066c0c20cbf35245d7af2c05a2d830b9 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Fri, 5 Jul 2024 13:48:32 +0200 Subject: [PATCH] fix the integration test --- .../relational/core/conversion/MappingRelationalConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-data-relational/src/main/java/org/springframework/data/relational/core/conversion/MappingRelationalConverter.java b/spring-data-relational/src/main/java/org/springframework/data/relational/core/conversion/MappingRelationalConverter.java index 0225bea31c..eb91c2d34a 100644 --- a/spring-data-relational/src/main/java/org/springframework/data/relational/core/conversion/MappingRelationalConverter.java +++ b/spring-data-relational/src/main/java/org/springframework/data/relational/core/conversion/MappingRelationalConverter.java @@ -690,7 +690,7 @@ public Object writeValue(@Nullable Object value, TypeInformation type) { : getConversions().getCustomWriteTarget(type.getType()); if (customWriteTarget.isPresent()) { - return getConversionService().convert(value, customWriteTarget.get()); + return getPotentiallyConvertedSimpleWrite(getConversionService().convert(value, customWriteTarget.get())); } if (TypeInformation.OBJECT != type) {