From f8b3d35e88b52be05ed3c61742d27db9c42ca7fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AF=9B=E6=96=87=E8=B6=85?= Date: Tue, 5 Dec 2023 09:28:56 +0800 Subject: [PATCH] [ISSUES #11459] fix CONFIG_INFO_STATE_WRAPPER_ROW_MAPPER missing (#11465) - register CONFIG_INFO_STATE_WRAPPER_ROW_MAPPER to RowMapperManager Close #11459 --- .../server/service/repository/ConfigRowMapperInjector.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/ConfigRowMapperInjector.java b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/ConfigRowMapperInjector.java index a9c714e01a6..9907e9bb155 100644 --- a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/ConfigRowMapperInjector.java +++ b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/ConfigRowMapperInjector.java @@ -88,6 +88,11 @@ private static void injectConfigRowMapper() { RowMapperManager .registerRowMapper(ConfigRowMapperInjector.CONFIG_INFO_WRAPPER_ROW_MAPPER.getClass().getCanonicalName(), ConfigRowMapperInjector.CONFIG_INFO_WRAPPER_ROW_MAPPER); + + // CONFIG_INFO_STATE_WRAPPER_ROW_MAPPER + RowMapperManager + .registerRowMapper(ConfigRowMapperInjector.CONFIG_INFO_STATE_WRAPPER_ROW_MAPPER.getClass().getCanonicalName(), + ConfigRowMapperInjector.CONFIG_INFO_STATE_WRAPPER_ROW_MAPPER); // CONFIG_KEY_ROW_MAPPER