parent
2fb0914cca
commit
ac30d228ca
@ -1,25 +1 @@
|
||||
# Configuration de la base de données H2 (en mémoire)
|
||||
spring.datasource.url=jdbc:h2:mem:testdb
|
||||
spring.datasource.driverClassName=org.h2.Driver
|
||||
spring.datasource.username=sa
|
||||
spring.datasource.password=
|
||||
|
||||
# Initialisation de la BDD avec le script
|
||||
spring.sql.init.mode=always
|
||||
spring.sql.init.schema-locations=classpath:init.sql
|
||||
|
||||
# Configuration de JPA/Hibernate
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
|
||||
# Console H2 pour le débogage
|
||||
spring.h2.console.enabled=true
|
||||
spring.h2.console.path=/h2-console
|
||||
|
||||
# Port du serveur (filtré via Maven)
|
||||
server.port=@server.port@
|
||||
|
||||
# (Optionnel) Niveaux de log pour SQL
|
||||
logging.level.org.hibernate.SQL=DEBUG
|
||||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||
spring.application.name=WF-WEB-API
|
Loading…
Reference in new issue