19 lines
753 B
Properties
19 lines
753 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
|