mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-03 06:21:01 +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>
|
<artifactId>guava</artifactId>
|
||||||
<version>r05</version>
|
<version>r05</version>
|
||||||
</dependency>
|
</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>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
@ -110,6 +110,14 @@ public enum DataBaseType {
|
|||||||
break;
|
break;
|
||||||
case Oscar:
|
case Oscar:
|
||||||
break;
|
break;
|
||||||
|
case OceanBase:
|
||||||
|
suffix = "yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true";
|
||||||
|
if (jdbc.contains("?")) {
|
||||||
|
result = jdbc + "&" + suffix;
|
||||||
|
} else {
|
||||||
|
result = jdbc + "?" + suffix;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type.");
|
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