You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// line 177, changing the catching exception type:// DAMENG throws DataIntegrityViolationException, which is the super class of DuplicateKeyException.@OverridepublicvoidinsertOrUpdate(StringsrcIp, StringsrcUser, ConfigInfoconfigInfo, Timestamptime,
Map<String, Object> configAdvanceInfo, booleannotify) {
try {
addConfigInfo(srcIp, srcUser, configInfo, time, configAdvanceInfo, notify);
} catch (DataIntegrityViolationException/* | DuplicateKeyException*/ive) { // Unique constraint conflict, DAMENG throws DataIntegrityViolationException,// which is the super class of DuplicateKeyException.updateConfigInfo(configInfo, srcIp, srcUser, time, configAdvanceInfo, notify);
}
}
Issue Description
Type: feature request
Describe what happened (or what feature you want)
Nacos works on Oracle & DAMENG databases.
Describe what you expected to happen
Using Oracle & DAMENG database as using MySQL.
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
Windows 10, JDK8
Anything else we need to know?
No.
HERE IS MY CODES BELOW:
2.2.1.1(May 17, 2024)
# Adding the implementations of Mapper of Oracle and DAMENG. com.alibaba.nacos.plugin.datasource.impl.oracle.ConfigInfoAggrMapperByOracle com.alibaba.nacos.plugin.datasource.impl.oracle.ConfigInfoBetaMapperByOracle com.alibaba.nacos.plugin.datasource.impl.oracle.ConfigInfoMapperByOracle com.alibaba.nacos.plugin.datasource.impl.oracle.ConfigInfoTagMapperByOracle com.alibaba.nacos.plugin.datasource.impl.oracle.ConfigTagsRelationMapperByOracle com.alibaba.nacos.plugin.datasource.impl.oracle.HistoryConfigInfoMapperByOracle com.alibaba.nacos.plugin.datasource.impl.oracle.TenantInfoMapperByOracle com.alibaba.nacos.plugin.datasource.impl.oracle.TenantCapacityMapperByOracle com.alibaba.nacos.plugin.datasource.impl.oracle.GroupCapacityMapperByOracle com.alibaba.nacos.plugin.datasource.impl.dameng.ConfigInfoAggrMapperByDAMENG com.alibaba.nacos.plugin.datasource.impl.dameng.ConfigInfoBetaMapperByDAMENG com.alibaba.nacos.plugin.datasource.impl.dameng.ConfigInfoMapperByDAMENG com.alibaba.nacos.plugin.datasource.impl.dameng.ConfigInfoTagMapperByDAMENG com.alibaba.nacos.plugin.datasource.impl.dameng.ConfigTagsRelationMapperByDAMENG com.alibaba.nacos.plugin.datasource.impl.dameng.HistoryConfigInfoMapperByDAMENG com.alibaba.nacos.plugin.datasource.impl.dameng.TenantInfoMapperByDAMENG com.alibaba.nacos.plugin.datasource.impl.dameng.TenantCapacityMapperByDAMENG com.alibaba.nacos.plugin.datasource.impl.dameng.GroupCapacityMapperByDAMENG
CODES
datasource-plugin-oracle-dameng.tar.gz
The text was updated successfully, but these errors were encountered: