Advertisement
Guest User

Untitled

a guest
May 31st, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.01 KB | None | 0 0
  1. spring.thymeleaf.enabled=true
  2. spring.thymeleaf.encoding=UTF-8
  3. spring.thymeleaf.check-template-location=true
  4. spring.thymeleaf.prefix=classpath:/templates/
  5. spring.thymeleaf.suffix=.html
  6. #spring.thymeleaf.mode=LEGACYHTML5
  7. spring.thymeleaf.content-type=text/html
  8. spring.thymeleaf.cache=false
  9.  
  10. #H2 database, integrated
  11. spring.datasource.driverClassName=org.h2.Driver
  12. spring.datasource.url=jdbc:h2:file:~/workspace-sts/AutoServis/src/main/resources/ServisDB;FILE_LOCK=FS
  13. #spring.datasource.url=jdbc:h2:file:~/workspace/servis/src/main/resources/ServisDB;FILE_LOCK=FS
  14. spring.datasource.username=sa
  15. spring.datasource.password=
  16. spring.h2.console.enabled=true
  17.  # Hibernate settings
  18. spring.jpa.hibernate.ddl-auto=update
  19. spring.jpa.hibernate.naming.strategy=org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy
  20.  
  21. spring.jpa.properties.jadira.usertype.autoRegisterUserTypes=true
  22. spring.jackson.serialization.write-dates-as-timestamps=false
  23.  
  24. #spring - stop reloading html files
  25. spring.devtools.livereload.enabled=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement