Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
lenicliu committed Oct 29, 2014
1 parent a31c295 commit 179b560
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 0 additions & 4 deletions jboot-jdbc-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#freemarker settings
spring.freemarker.allowRequestOverride=false
spring.freemarker.cache=true
spring.freemarker.checkTemplateLocation=true
Expand All @@ -10,6 +11,7 @@ spring.freemarker.requestContextAttribute=request
spring.freemarker.suffix=.ftl
spring.freemarker.templateLoaderPath=classpath:/templates/

#schema init settings
spring.datasource.name=dataSource
spring.datasource.initialize=true
spring.datasource.schema=classpath:/sql/schema.sql
Expand All @@ -18,6 +20,7 @@ spring.datasource.sqlScriptEncoding=UTF-8
spring.datasource.continueOnError=false
spring.datasource.separator=;

#jdbc settings use h2database-mem-model
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:jboot
spring.datasource.username=sa
Expand Down
4 changes: 2 additions & 2 deletions jboot-jdbc-application/src/main/resources/templates/index.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
<script type="text/javascript">
document.getElementById('author').focus();
</script>
</body>
</html>
</body>
</html>

0 comments on commit 179b560

Please sign in to comment.