From a7f6e661c9089c81695656c693ca4b104abb2e45 Mon Sep 17 00:00:00 2001 From: calaglinPilot Date: Thu, 1 May 2025 19:06:21 +0200 Subject: [PATCH] =?UTF-8?q?L'application=20d=C3=A9marre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index d65c773..10b44fa 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,26 @@ spring.application.name=MangerAutourDeSimplonBack + +# =============================== +# base de données MySQL +# =============================== +spring.datasource.url=jdbc:mysql://localhost:3306/simpleat?useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=CET +spring.datasource.username=milane +spring.datasource.password=bbLouis1+Noe2 +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=none +# 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 +# server.port=8081 \ No newline at end of file