From c85f4df0eeb3e9d0559603ff4c75bb9ecac91b56 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 8 Sep 2015 10:20:46 +0200 Subject: [PATCH] Polish Upgrade sample to use H2 and expose the web console by default. --- spring-boot-samples/spring-boot-sample-data-jpa/pom.xml | 6 ++++-- .../src/main/resources/application.properties | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml b/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml index 442579304b..05c543be7e 100755 --- a/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml +++ b/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml @@ -27,11 +27,13 @@ org.springframework.boot spring-boot-starter-web + - org.hsqldb - hsqldb + com.h2database + h2 runtime + org.springframework.boot spring-boot-starter-test diff --git a/spring-boot-samples/spring-boot-sample-data-jpa/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-data-jpa/src/main/resources/application.properties index 51d574f30d..6a78bc8962 100644 --- a/spring-boot-samples/spring-boot-sample-data-jpa/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-data-jpa/src/main/resources/application.properties @@ -1 +1,3 @@ -debug= \ No newline at end of file +spring.h2.console.enabled=true + +logging.level.org.hibernate.SQL=debug \ No newline at end of file