|
|
|
@ -10,10 +10,6 @@ logging:
|
|
|
|
spring:
|
|
|
|
spring:
|
|
|
|
datasource:
|
|
|
|
datasource:
|
|
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
|
|
# driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
|
|
|
|
# url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=appserver;encrypt=false;
|
|
|
|
|
|
|
|
# username: sa
|
|
|
|
|
|
|
|
# password: Skyinno251,
|
|
|
|
|
|
|
|
#url: jdbc:mysql://192.168.3.29:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://192.168.3.29:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://127.0.0.1:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://127.0.0.1:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://192.168.2.18:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://192.168.2.18:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
@ -24,20 +20,23 @@ spring:
|
|
|
|
#url: jdbc:mysql://192.168.3.24:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://192.168.3.24:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://192.168.1.24:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://192.168.1.24:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://47.242.184.139:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
#url: jdbc:mysql://47.242.184.139:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
url: jdbc:mysql://192.168.3.9:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
url: jdbc:postgresql://192.168.3.24:5432/postgres
|
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver #com.mysql.cj.jdbc.Driver com.mysql.jdbc.Driver
|
|
|
|
driverClassName: org.postgresql.Driver #com.mysql.cj.jdbc.Driver com.mysql.jdbc.Driver
|
|
|
|
username: root
|
|
|
|
username: postgres
|
|
|
|
password: Skyinno251,
|
|
|
|
password: 452131wW
|
|
|
|
# driverClassName: oracle.jdbc.driver.OracleDriver
|
|
|
|
|
|
|
|
# url: jdbc:oracle:thin:@192.168.3.9:1521/orcl
|
|
|
|
|
|
|
|
# username: appserver
|
|
|
|
|
|
|
|
# password: appserver
|
|
|
|
|
|
|
|
jpa:
|
|
|
|
jpa:
|
|
|
|
database: mysql # 配置 DBMS 类型
|
|
|
|
database: POSTGRESQL # 配置 DBMS 类型
|
|
|
|
show-sql: true # 配置是否将执行的 SQL 输出到日志
|
|
|
|
show-sql: true # 配置是否将执行的 SQL 输出到日志
|
|
|
|
open-in-view: true
|
|
|
|
open-in-view: true
|
|
|
|
hibernate:
|
|
|
|
#hibernate:
|
|
|
|
ddl-auto: update # 第一次建表create 后面用update,要不然每次重启都会新建表
|
|
|
|
# ddl-auto: update # 第一次建表create 后面用update,要不然每次重启都会新建表
|
|
|
|
|
|
|
|
properties:
|
|
|
|
|
|
|
|
hibernate:
|
|
|
|
|
|
|
|
format_sql: true
|
|
|
|
|
|
|
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
|
|
|
|
|
|
ddl-auto: update
|
|
|
|
|
|
|
|
hbm2ddl:
|
|
|
|
|
|
|
|
auto: update
|
|
|
|
servlet:
|
|
|
|
servlet:
|
|
|
|
multipart:
|
|
|
|
multipart:
|
|
|
|
# 开启 multipart 上传功能
|
|
|
|
# 开启 multipart 上传功能
|
|
|
|
|