28 lines
No EOL
1.2 KiB
Properties
28 lines
No EOL
1.2 KiB
Properties
#security.jwt.token.secret-key=03888dd6ceb88c3fee410a70802fb93d483fd52d70349d8f7e7581ae346cf658
|
|
security.jwt.token.secret-key=simpleat
|
|
spring.main.allow-circular-references=true
|
|
# pour comprendre le but de cette ligne ci-dessus : https://www.baeldung.com/circular-dependencies-in-spring
|
|
# ===============================
|
|
# ===============================
|
|
# base de données MySQL
|
|
# ===============================
|
|
spring.datasource.url=jdbc:mysql://localhost:3308/simpleat?useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=CET
|
|
spring.datasource.username=root
|
|
spring.datasource.password=root
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
# log
|
|
#logging.level.root=INFO
|
|
#logging.file=d:/data/log-hibernate-jpa.log
|
|
#logging.level.org.springframework.jdbc.core.JdbcTemplate=debug
|
|
# ===============================
|
|
# JPA / HIBERNATE
|
|
# ===============================
|
|
spring.jpa.show-sql=true
|
|
##spring.jpa.hibernate.ddl-auto=update
|
|
spring.jpa.hibernate.ddl-auto=create-drop
|
|
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
|
|
# ===============================
|
|
# Permet d'exécuter le data.sql
|
|
# ===============================
|
|
spring.sql.init.mode=always
|
|
spring.jpa.defer-datasource-initialization=true |