parent
b938551126
commit
caaf2db365
@ -0,0 +1,25 @@
|
||||
# MQTT??????????
|
||||
mqtt.enabled=false
|
||||
|
||||
# ??Bean????
|
||||
spring.main.allow-bean-definition-overriding=true
|
||||
|
||||
# Database Configuration
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/campus_water_management?useSSL=false&serverTimezone=Asia/Shanghai&characterEncoding=utf8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=wl1113
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
|
||||
# JPA Configuration
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
|
||||
|
||||
# Database Dialect
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
|
||||
|
||||
# ????
|
||||
server.servlet.encoding.charset=UTF-8
|
||||
server.servlet.encoding.enabled=true
|
||||
server.servlet.encoding.force=true
|
||||
Loading…
Reference in new issue