sans properties

This commit is contained in:
Hedi 2022-01-08 18:39:36 +01:00
parent 1ed8373359
commit cb3218ac1e
2 changed files with 1 additions and 23 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@ target/
!.mvn/wrapper/maven-wrapper.jar !.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/ !**/src/main/**/target/
!**/src/test/**/target/ !**/src/test/**/target/
/src/main/resources/application.properties
### STS ### ### STS ###
.apt_generated .apt_generated

View File

@ -1,23 +0,0 @@
# ===============================
# base de données MySQL toto
# ===============================
spring.datasource.url=jdbc:mysql://192.168.1.16:3306/jpa?useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=UTC
spring.datasource.username=desktop
spring.datasource.password=Cosmoc4t$77
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.datasource.initialization-mode=always
server.port=4567