flowable脚本初始化优化,解决因jdbc驱动高版本和使用低版本数据库时,meta数据获取正确,而导致初始化失败问题。

This commit is contained in:
thinkgem
2020-05-05 20:57:45 +08:00
parent c29dc43193
commit 0cc351fbba
2 changed files with 7 additions and 8 deletions

View File

@@ -23,22 +23,21 @@
<dependencies> <dependencies>
<!-- JDBC device begin --> <!-- MySQL -->
<!-- MySQL 5.5、8.0 -->
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<!-- Oracle 11g --> <!-- Oracle 11g
<dependency> <dependency>
<groupId>com.oracle</groupId> <groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId> <artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version> <version>11.2.0.3</version>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency> -->
<!-- Oracle 12c --> <!-- Oracle 12c -->
<!-- <dependency> <dependency>
<groupId>com.oracle.ojdbc</groupId> <groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc8</artifactId> <artifactId>ojdbc8</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
@@ -47,8 +46,8 @@
<groupId>com.oracle.ojdbc</groupId> <groupId>com.oracle.ojdbc</groupId>
<artifactId>orai18n</artifactId> <artifactId>orai18n</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> --> </dependency>
<!-- SqlServer 2008 --> <!-- SqlServer 2008+ -->
<dependency> <dependency>
<groupId>net.sourceforge.jtds</groupId> <groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId> <artifactId>jtds</artifactId>
@@ -66,7 +65,6 @@
<artifactId>postgresql</artifactId> <artifactId>postgresql</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<!-- JDBC device end -->
<!-- Common --> <!-- Common -->
<dependency> <dependency>

View File

@@ -55,6 +55,7 @@
<swagger.version>1.6.0</swagger.version> <swagger.version>1.6.0</swagger.version>
<!-- jdbc setting --> <!-- jdbc setting -->
<!-- <mysql.version>5.1.47</mysql.version> -->
<mysql.version>8.0.11</mysql.version> <mysql.version>8.0.11</mysql.version>
<!-- environment setting --> <!-- environment setting -->