Skip to content

Commit

Permalink
Upgraded to spring boot 1.2.0.RC1 and using embedded h2
Browse files Browse the repository at this point in the history
  • Loading branch information
bijukunjummen committed Dec 11, 2014
1 parent 40c6961 commit 7901230
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
8 changes: 6 additions & 2 deletions pom.xml
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.1.5.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<dependencies>
Expand Down Expand Up @@ -86,7 +86,11 @@
<artifactId>spring-cloud-cloudfoundry-connector</artifactId>
<version>1.0.0.RELEASE</version>
</dependency>

<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.182</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
16 changes: 8 additions & 8 deletions src/main/resources/application.properties
@@ -1,8 +1,8 @@
spring.jpa.hibernate.ddl-auto: update
spring.datasource.driverClassName=org.postgresql.Driver
spring.datasource.url: jdbc:postgresql://192.168.59.103:5432/hotelsdb
spring.datasource.username=postgres
spring.datasource.password=p0stgr3s
spring.thymeleaf.cache=false
spring.jpa.properties.hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
http.mappers.json-pretty-print=true
#spring.jpa.hibernate.ddl-auto: update
#spring.datasource.driverClassName=org.postgresql.Driver
#spring.datasource.url: jdbc:postgresql://192.168.59.103:5432/hotelsdb
#spring.datasource.username=postgres
#spring.datasource.password=p0stgr3s
#spring.thymeleaf.cache=false
#spring.jpa.properties.hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
#http.mappers.json-pretty-print=true

0 comments on commit 7901230

Please sign in to comment.