mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-02 17:40:28 +08:00
add ob jar files.
This commit is contained in:
parent
d3bd2c5fcf
commit
6061010e00
Binary file not shown.
@ -63,5 +63,12 @@
|
||||
<artifactId>guava</artifactId>
|
||||
<version>r05</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alipay.oceanbase</groupId>
|
||||
<artifactId>oceanbase-client</artifactId>
|
||||
<version>1.1.10</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${basedir}/src/main/libs/oceanbase-client-1.1.10.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
@ -110,6 +110,14 @@ public enum DataBaseType {
|
||||
break;
|
||||
case Oscar:
|
||||
break;
|
||||
case OceanBase:
|
||||
suffix = "yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true";
|
||||
if (jdbc.contains("?")) {
|
||||
result = jdbc + "&" + suffix;
|
||||
} else {
|
||||
result = jdbc + "?" + suffix;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type.");
|
||||
}
|
||||
|
BIN
plugin-rdbms-util/src/main/libs/oceanbase-client-1.1.10.jar
Normal file
BIN
plugin-rdbms-util/src/main/libs/oceanbase-client-1.1.10.jar
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user