为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:v8
【操作系统】:NeoKylin Linux Advanced Server release V7.0 (Chromium)
【CPU】:Hygon C86 7151
【问题描述】*:使用mybatis 删除触发器或者添加触发器时, 会报 对象定义被修改
的错误. 有些情况会报, 有些不会报. 虽然每次都能复现, 但是不知道具体原因.
这是我正在使用的jdbc驱动, 直接配置的pom文件,从maven中央仓库下载下来的:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.6
Created-By: 1.8.0_65-b17 (Oracle Corporation)
Implementation-Vendor: DAMENG
Implementation-Title: Dameng JDBC driver classes for use with JDK1.8
Implementation-Version: - 8.1.1.88 - Production
Driver-name: dm.jdbc.driver.DmDriver
Build-Time: 2020-07-08
Main-Class: dm.jdbc.driver.DmDriver
Premain-Class: dm.jdbc.stat.support.WebServer
Svn-Revision: 3191
这是数据库drivers目录下jdbc/DmJdbcDriver18.jar的:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.4
Created-By: 1.8.0_65-b17 (Oracle Corporation)
Implementation-Vendor: DAMENG
Implementation-Title: Dameng JDBC driver classes for use with JDK1.8
Implementation-Version: - 8.1.2.2 - Production
Driver-name: dm.jdbc.driver.DmDriver
Build-Time: 2021.04.27
Main-Class: dm.jdbc.driver.DmDriver
Premain-Class: dm.jdbc.stat.support.WebServer
Svn-Revision: 6357
显然数据库中自带的驱动更加新. 是需要换一下吗?
请问该问题最终是怎么解决的,我遇上了相同问题,更新jdbc驱动也没用
估计是sessions串了,你正在用这个表被其他事务给占了,查下jar包是不是和数据库上的版本一致的