Skip to content

Instantly share code, notes, and snippets.

@TopekoX
Created November 28, 2017 04:27
Show Gist options
  • Save TopekoX/562be4a0e69d9102991598bb6f9a23b9 to your computer and use it in GitHub Desktop.
Save TopekoX/562be4a0e69d9102991598bb6f9a23b9 to your computer and use it in GitHub Desktop.
Spring boot properties JPA & Thymeleaf
#spring.jpa.hibernate.ddl-auto=create
spring.datasource.url=jdbc:mysql://localhost:3306/latihan
spring.datasource.username=root
spring.datasource.password=xxxxxx
spring.jackson.serialization.indent_output=true
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
#Thymeleaf
spring.thymeleaf.prefix=file:./src/main/resources/templates/
spring.thymeleaf.cache=false
# Static resources reloading during development
spring.resources.static-locations=file:./src/main/resources/static/
spring.resources.cache-period=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment