Skip to content

Commit c60e26a

Browse files
authored
[ISSUES nacos-group#30] Add -6625 error code as duplicateKey error code (nacos-group#31)
- Use compile scope instead of system scope Close nacos-group#30
1 parent df5c666 commit c60e26a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/pom.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@
1616
<maven.compiler.target>8</maven.compiler.target>
1717
<!-- 驱动小版本不同时,可能会造成某些操作异常(读取超长CLOB,TEXT),
1818
需要使用达梦安装目录下drivers/jdbc下的驱动 -->
19-
<jdbc.dm.version>8.1.2.114</jdbc.dm.version> <!--8.1.2.79-->
19+
<jdbc.dm.version>8.1.3.62</jdbc.dm.version> <!--8.1.2.79-->
2020
</properties>
2121

2222
<dependencies>
2323
<dependency>
2424
<groupId>com.dameng</groupId>
2525
<artifactId>DmJdbcDriver18</artifactId>
2626
<version>${jdbc.dm.version}</version>
27-
<scope>system</scope>
28-
<systemPath>${basedir}/lib/DmJdbcDriver18.jar</systemPath>
2927
</dependency>
3028
<dependency>
3129
<groupId>com.alibaba.nacos</groupId>

nacos-datasource-plugin-ext/nacos-dm-datasource-plugin-ext/src/main/resources/sql-error-codes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</list>
2929
</property>
3030
<property name="duplicateKeyCodes">
31-
<value>-6602</value>
31+
<value>-6602,-6625</value>
3232
</property>
3333
</bean>
3434

0 commit comments

Comments
 (0)