#支持各种数据库类型
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.7.18</version>
|
<version>2.7.18</version>
|
||||||
<relativePath />
|
<relativePath/>
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>{{ .groupId }}</groupId>
|
<groupId>{{ .groupId }}</groupId>
|
||||||
<artifactId>{{ .artifactId }}</artifactId>
|
<artifactId>{{ .artifactId }}</artifactId>
|
||||||
@@ -246,17 +246,12 @@
|
|||||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||||
<version>3.5.7</version>
|
<version>3.5.7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>mysql</groupId>
|
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
|
||||||
<version>8.0.27</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>transmittable-thread-local</artifactId>
|
<artifactId>transmittable-thread-local</artifactId>
|
||||||
<version>2.12.3</version>
|
<version>2.12.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
{{- if eq .dbType "dm" }}
|
{{- if eq .dbType "dm" }}
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dm</groupId>
|
<groupId>dm</groupId>
|
||||||
<artifactId>DmJdbcDriver</artifactId>
|
<artifactId>DmJdbcDriver</artifactId>
|
||||||
@@ -267,6 +262,24 @@
|
|||||||
<artifactId>DmDialect-for-hibernate5.6</artifactId>
|
<artifactId>DmDialect-for-hibernate5.6</artifactId>
|
||||||
<version>8.1.3.140</version>
|
<version>8.1.3.140</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
{{- else if eq .dbType "mysql" }}
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>8.0.27</version>
|
||||||
|
</dependency>
|
||||||
|
{{- else if eq .dbType "postgresql" }}
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.postgresql</groupId>
|
||||||
|
<artifactId>postgresql</artifactId>
|
||||||
|
<version>42.6.2</version>
|
||||||
|
</dependency>
|
||||||
|
{{- else if eq .dbType "oracle" }}
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.oracle</groupId>
|
||||||
|
<artifactId>ojdbc8</artifactId>
|
||||||
|
<version>12.2.0.1</version>
|
||||||
|
</dependency>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
Reference in New Issue
Block a user