mirror of https://github.com/jeecgboot/jeecg-boot
其他数据库配置
parent
443abc3ede
commit
419e2bea0b
|
@ -81,6 +81,11 @@ spring:
|
||||||
date-format: yyyy-MM-dd HH:mm:ss
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
jpa:
|
jpa:
|
||||||
|
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
||||||
|
properties:
|
||||||
|
hibernate:
|
||||||
|
temp:
|
||||||
|
use_jdbc_metadata_defaults: false
|
||||||
open-in-view: false
|
open-in-view: false
|
||||||
aop:
|
aop:
|
||||||
proxy-target-class: true
|
proxy-target-class: true
|
||||||
|
@ -141,7 +146,7 @@ spring:
|
||||||
poolPreparedStatements: true
|
poolPreparedStatements: true
|
||||||
maxPoolPreparedStatementPerConnectionSize: 20
|
maxPoolPreparedStatementPerConnectionSize: 20
|
||||||
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
|
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
|
||||||
filters: stat,wall,slf4j
|
filters: stat,slf4j
|
||||||
# 允许SELECT语句的WHERE子句是一个永真条件
|
# 允许SELECT语句的WHERE子句是一个永真条件
|
||||||
wall:
|
wall:
|
||||||
selectWhereAlwayTrueCheck: false
|
selectWhereAlwayTrueCheck: false
|
||||||
|
@ -151,10 +156,10 @@ spring:
|
||||||
slow-sql-millis: 5000
|
slow-sql-millis: 5000
|
||||||
datasource:
|
datasource:
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
url: jdbc:postgresql://127.0.0.1:5432/postgres?stringtype=unspecified
|
||||||
username: root
|
username: admin
|
||||||
password: root
|
password: ????
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
# 多数据源配置
|
# 多数据源配置
|
||||||
#multi-datasource1:
|
#multi-datasource1:
|
||||||
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||||
|
@ -290,6 +295,7 @@ cas:
|
||||||
#Mybatis输出sql日志
|
#Mybatis输出sql日志
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
|
org.springframework.context.support.PostProcessorRegistrationDelegate: error
|
||||||
org.flywaydb: debug
|
org.flywaydb: debug
|
||||||
org.jeecg.modules.system.mapper: info
|
org.jeecg.modules.system.mapper: info
|
||||||
#swagger
|
#swagger
|
||||||
|
|
Loading…
Reference in New Issue