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 442579304b9d..05c543be7e68 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 51d574f30dda..6a78bc896200 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