Update application.properties

This commit is contained in:
andreas-ost 2020-12-22 16:43:09 +01:00 committed by GitHub
parent f28f23f4f8
commit e56a35bf12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,16 @@ database=h2
spring.datasource.schema=classpath*:db/${database}/schema.sql
spring.datasource.data=classpath*:db/${database}/data.sql
# Access to H2
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:mem:petclinic
spring.datasource.driverClassName=org.h2.Driver
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.h2.console.path=/h2-console
spring.h2.console.settings.trace=false
spring.h2.console.settings.web-allow-others=true
# Web
spring.thymeleaf.mode=HTML