first commit
This commit is contained in:
commit
ec0dc019d8
29 changed files with 1458 additions and 0 deletions
22
src/main/resources/application.properties
Normal file
22
src/main/resources/application.properties
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# ===============================
|
||||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue