Browse Source

Polish

Upgrade sample to use H2 and expose the web console by default.
pull/3926/head
Stephane Nicoll 10 years ago
parent
commit
c85f4df0ee
  1. 6
      spring-boot-samples/spring-boot-sample-data-jpa/pom.xml
  2. 4
      spring-boot-samples/spring-boot-sample-data-jpa/src/main/resources/application.properties

6
spring-boot-samples/spring-boot-sample-data-jpa/pom.xml

@ -27,11 +27,13 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.hsqldb</groupId> <groupId>com.h2database</groupId>
<artifactId>hsqldb</artifactId> <artifactId>h2</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>

4
spring-boot-samples/spring-boot-sample-data-jpa/src/main/resources/application.properties

@ -1 +1,3 @@
debug= spring.h2.console.enabled=true
logging.level.org.hibernate.SQL=debug
Loading…
Cancel
Save