| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| eadl:bloc3:dev_av:config [2025/09/17 01:22] – [H2] jcheron | eadl:bloc3:dev_av:config [2025/09/17 16:00] (Version actuelle) – [H2] jcheron |
|---|
| ===== application.properties ===== | ===== application.properties ===== |
| ==== H2 ==== | ==== H2 ==== |
| <sxh bash> | <sxh bash;gutter:false> |
| spring.datasource.url=jdbc:h2:file:./data/dbExemple;DB_CLOSE_ON_EXIT=FALSE | spring.datasource.url=jdbc:h2:file:./db/ecommerce;DB_CLOSE_ON_EXIT=FALSE |
| spring.datasource.username=sa | spring.datasource.username=sa |
| spring.datasource.password= | spring.datasource.password= |
| spring.h2.console.enabled=true | spring.h2.console.enabled=true |
| spring.h2.console.path=/h2-console | spring.h2.console.path=/h2-console |
| | |
| | #Quote sur les identifiers dans la BDD |
| | spring.jpa.properties.hibernate.globally_quoted_identifiers=true |
| | |
| </sxh> | </sxh> |
| |
| ==== Logs JPA ==== | ==== Logs JPA ==== |
| |
| <sxh properties> | <sxh bash;gutter:false> |
| #spring.jpa.show-sql=true | #spring.jpa.show-sql=true |
| spring.jpa.properties.hibernate.format_sql=true | spring.jpa.properties.hibernate.format_sql=true |