23 lines
932 B
Properties
23 lines
932 B
Properties
|
|
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
|
|
spring.datasource.url = jdbc:mysql://localhost:3306/chatto_db?useSSL=false
|
|
spring.datasource.username = chatto_user
|
|
spring.datasource.password = password
|
|
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
|
|
|
|
|
|
# Hibernate ddl auto (create, create-drop, validate, update)
|
|
spring.jpa.hibernate.ddl-auto = validate
|
|
|
|
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
|
|
spring.http.log-request-details=true
|
|
#spring.jackson.date-format=yyyy-MM-d
|
|
spring.jackson.serialization.write-dates-as-timestamps=false
|
|
#spring.mvc.static-path-pattern=/static/** |