From c60e26af89d99da43b520b7920ab144b880a8cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AF=9B=E6=96=87=E8=B6=85?= Date: Tue, 4 Jun 2024 10:40:44 +0800 Subject: [PATCH] [ISSUES #30] Add -6625 error code as duplicateKey error code (#31) - Use compile scope instead of system scope Close #30 --- .../nacos-dm-datasource-plugin-ext/pom.xml | 4 +--- .../src/main/resources/sql-error-codes.xml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/pom.xml b/nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/pom.xml index 27a3082..5f16ef1 100644 --- a/nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/pom.xml +++ b/nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/pom.xml @@ -16,7 +16,7 @@ 8 - 8.1.2.114 + 8.1.3.62 @@ -24,8 +24,6 @@ com.dameng DmJdbcDriver18 ${jdbc.dm.version} - system - ${basedir}/lib/DmJdbcDriver18.jar com.alibaba.nacos diff --git a/nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/src/main/resources/sql-error-codes.xml b/nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/src/main/resources/sql-error-codes.xml index 1305210..9e7e35a 100644 --- a/nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/src/main/resources/sql-error-codes.xml +++ b/nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/src/main/resources/sql-error-codes.xml @@ -28,7 +28,7 @@ - -6602 + -6602,-6625