2019-10-04 10:10:26 +00:00
|
|
|
#
|
|
|
|
### Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
|
|
|
|
#spring.datasource.url = jdbc:mysql://localhost:3306/chatto_db?useSSL=false
|
|
|
|
#spring.datasource.username = chatto_user
|
|
|
|
#spring.datasource.password = password
|
2019-09-17 07:33:38 +00:00
|
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
|
|
## Hibernate Properties
|
|
|
|
# The SQL dialect makes Hibernate generate better SQL for the chosen database
|
|
|
|
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
|
|
|
|
|
2019-09-27 06:37:55 +00:00
|
|
|
|
2019-09-17 07:33:38 +00:00
|
|
|
# Hibernate ddl auto (create, create-drop, validate, update)
|
2019-10-04 10:10:26 +00:00
|
|
|
spring.jpa.hibernate.ddl-auto = none
|
2019-09-17 07:33:38 +00:00
|
|
|
|
2019-11-25 06:26:34 +00:00
|
|
|
spring.jpa.properties.hibernate.generate_statistics=true
|
|
|
|
logging.level.org.hibernate.stat=debug
|
2019-09-17 07:33:38 +00:00
|
|
|
logging.level.org.springframework.web=DEBUG
|
|
|
|
logging.level.web=DEBUG
|
|
|
|
logging.level.org.hibernate.SQL=DEBUG
|
|
|
|
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
2019-10-02 16:25:46 +00:00
|
|
|
spring.http.log-request-details=true
|
|
|
|
#spring.jackson.date-format=yyyy-MM-d
|
|
|
|
spring.jackson.serialization.write-dates-as-timestamps=false
|
2019-10-15 05:28:56 +00:00
|
|
|
#spring.mvc.static-path-pattern=/static/**
|
|
|
|
#spring.cache.type=ehcache3
|
|
|
|
spring.cache.jcache.config=classpath:ehcache.xml
|
|
|
|
logging.level.org.springframework.cache = DEBUG
|
2019-11-19 15:20:15 +00:00
|
|
|
#test.bindAddress=192.168.1.106
|
|
|
|
|
2019-11-20 08:39:12 +00:00
|
|
|
chatto.token.timeout-duration=30
|