In order to show the H2 console, we need thes settings.

This commit is contained in:
Paweł Dyda 2022-12-08 19:51:00 +01:00
parent 7c3eac8446
commit 2dd9ccd233

View File

@ -1,2 +1,10 @@
spring.devtools.livereload.enabled=true spring.devtools.livereload.enabled=true
spring.devtools.restart.pollInterval=10s spring.devtools.restart.pollInterval=10s
# Te warto?ci s? potrzebne, gdy kto? chce si? dosta? do konsoli H2.
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=essa
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
#spring.h2.console.path=h2db