【更新】pom更新pgsql,注释掉其他jdbc驱动,默认使用mysql

pull/22/head
xuyuxiang 2021-04-12 14:24:51 +08:00
parent 1a327a227a
commit f70644fdd2
3 changed files with 32 additions and 28 deletions

View File

@ -2,3 +2,4 @@
1. 【xiaonuo-vue-pub.sql】 为mysql版本的sql如果您的数据库为mysql可直接运行此sql
2. 【xiaonuo-vue-pub-oracle.sql】 为oracle版本的sql如果您的数据库为oracle可直接运行此sql
3. 【xiaonuo-vue-pub-mssql.sql】 为mssql版本的sql如果您的数据库为mssql可直接运行此sql
3. 【xiaonuo-vue-pub-postgresql.sql】 为postgresql版本的sql如果您的数据库为postgresql可直接运行此sql

31
pom.xml
View File

@ -27,10 +27,10 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<postgresql.version>42.2.19</postgresql.version>
<mysql-connector-java.version>8.0.17</mysql-connector-java.version>
<oracle.version>11.2.0.3</oracle.version>
<mssql.version>9.3.0.jre8-preview</mssql.version>
<postgresql.version>42.2.19</postgresql.version>
<druid.version>1.1.21</druid.version>
<mp.version>3.4.2</mp.version>
<fastjson.version>1.2.75</fastjson.version>
@ -61,32 +61,33 @@
<version>${mp.version}</version>
</dependency>
<!--数据库驱动-->
<!-- <dependency>-->
<!-- <groupId>mysql</groupId>-->
<!-- <artifactId>mysql-connector-java</artifactId>-->
<!-- <version>${mysql-connector-java.version}</version>-->
<!-- </dependency>-->
<!--
<!-- 数据库驱动,可根据自己需要自行删减默认使用mysql -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version>
</dependency>
<!-- oracle -->
<!--<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>${oracle.version}</version>
</dependency>
-->
</dependency>-->
<dependency>
<!-- mssql -->
<!--<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>${mssql.version}</version>
</dependency>
</dependency>-->
<dependency>
<!-- postgresql -->
<!--<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
</dependency>-->
<!--数据库连接池-->
<dependency>

View File

@ -41,27 +41,29 @@
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<!-- 数据库驱动,可根据自己需要自行删减 -->
<!-- <dependency>-->
<!-- <groupId>mysql</groupId>-->
<!-- <artifactId>mysql-connector-java</artifactId>-->
<!-- </dependency>-->
<!--
<!-- 数据库驱动,可根据自己需要自行删减默认使用mysql -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<!-- oracle -->
<!--<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
</dependency>
-->
</dependency>-->
<dependency>
<!-- mssql -->
<!--<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
</dependency>
</dependency>-->
<dependency>
<!-- postgresql -->
<!--<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
</dependency>-->
<!-- druid连接池 -->
<dependency>