Ceci est une ancienne révision du document !
SpringBoot config
application.properties
H2
spring.datasource.url=jdbc:h2:file:./db/ecommerce;DB_CLOSE_ON_EXIT=FALSE spring.datasource.username=sa spring.datasource.password= spring.datasource.driverClassName=org.h2.Driver spring.jpa.hibernate.ddl-auto=update spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect spring.h2.console.enabled=true spring.h2.console.path=/h2-console
Logs JPA
#spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true # logs the SQL statements # basic log level for all messages logging.level.org.hibernate=info # SQL statements and parameters logging.level.org.hibernate.SQL=debug logging.level.org.hibernate.orm.jdbc.bind=trace