diff --git a/.gitignore b/.gitignore index ee31714..f368ea0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ target/ !.mvn/wrapper/maven-wrapper.jar !**/src/main/**/target/ !**/src/test/**/target/ +/src/main/resources/application.properties ### STS ### .apt_generated diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index 773629d..0000000 --- a/src/main/resources/application.properties +++ /dev/null @@ -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