From 2dd9ccd2330efccc3937d4b3ee25832449047e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Dyda?= Date: Thu, 8 Dec 2022 19:51:00 +0100 Subject: [PATCH] In order to show the H2 console, we need thes settings. --- demo/05-06/src/main/resources/application.properties | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/demo/05-06/src/main/resources/application.properties b/demo/05-06/src/main/resources/application.properties index 16fac67..a3b26f9 100644 --- a/demo/05-06/src/main/resources/application.properties +++ b/demo/05-06/src/main/resources/application.properties @@ -1,2 +1,10 @@ spring.devtools.livereload.enabled=true 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 \ No newline at end of file