From 0f3b94592be37d158c3b955983bcbbf226bbf920 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Fri, 7 Oct 2022 11:41:16 +0200 Subject: [PATCH] Temporarily suppress warnings on R2DBC deprecation See gh-32601 See spring-projects/spring-data-relational#1350 --- .../autoconfigure/data/r2dbc/R2dbcDataAutoConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcDataAutoConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcDataAutoConfiguration.java index bac6b59272..0182256591 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcDataAutoConfiguration.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcDataAutoConfiguration.java @@ -79,6 +79,7 @@ public class R2dbcDataAutoConfiguration { @Bean @ConditionalOnMissingBean + @SuppressWarnings("deprecation") public R2dbcMappingContext r2dbcMappingContext(ObjectProvider namingStrategy, R2dbcCustomConversions r2dbcCustomConversions, RelationalManagedTypes r2dbcManagedTypes) { R2dbcMappingContext relationalMappingContext = new R2dbcMappingContext(