Skip to content

Commit

Permalink
[ISSUES nacos-group#30] Add -6625 error code as duplicateKey error co…
Browse files Browse the repository at this point in the history
…de (nacos-group#31)

- Use compile scope instead of system scope

Close nacos-group#30
  • Loading branch information
onewe authored Jun 4, 2024
1 parent df5c666 commit c60e26a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@
<maven.compiler.target>8</maven.compiler.target>
<!-- 驱动小版本不同时,可能会造成某些操作异常(读取超长CLOB,TEXT),
需要使用达梦安装目录下drivers/jdbc下的驱动 -->
<jdbc.dm.version>8.1.2.114</jdbc.dm.version> <!--8.1.2.79-->
<jdbc.dm.version>8.1.3.62</jdbc.dm.version> <!--8.1.2.79-->
</properties>

<dependencies>
<dependency>
<groupId>com.dameng</groupId>
<artifactId>DmJdbcDriver18</artifactId>
<version>${jdbc.dm.version}</version>
<scope>system</scope>
<systemPath>${basedir}/lib/DmJdbcDriver18.jar</systemPath>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</list>
</property>
<property name="duplicateKeyCodes">
<value>-6602</value>
<value>-6602,-6625</value>
</property>
</bean>

Expand Down

0 comments on commit c60e26a

Please sign in to comment.