Advertisement
Guest User

Untitled

a guest
May 6th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. # Database connection with the given database name
  2. spring.datasource.url = jdbc:mysql://localhost:3306/java_blog?createDatabaseIfNotExist=true&useUnicode=yes&characterEncoding=UTF-8
  3.  
  4. # Username and password
  5. spring.datasource.username = root
  6. spring.datasource.password =
  7.  
  8. # Show or not log for each sql query
  9. spring.jpa.show-sql = true
  10.  
  11. # Hibernate ddl auto (create, create-drop, update): with "update" the database
  12. # schema will be automatically updated accordingly to java entities found in
  13. # the project
  14. # Using "create" will delete and recreate the tables every time the project is started
  15. spring.jpa.hibernate.ddl-auto=update
  16.  
  17. # Naming strategy
  18. spring.jpa.hibernate.naming.strategy = org.hibernate.cfg.ImprovedNamingStrategy
  19.  
  20. # Allows Hibernate to generate SQL optimized for a particular DBMS
  21. spring.jpa.properties.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
  22.  
  23. #Turn off Thymeleaf cache
  24. spring.thymeleaf.cache = false
  25.  
  26. spring.http.multipart.max-file-size=60000KB
  27. spring.http.multipart.max-request-size=60000KB
  28.  
  29. spring.devtools.livereload.enabled=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement