Advertisement
Guest User

application.properties

a guest
Dec 6th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.81 KB | None | 0 0
  1. # Database connection with the given database name
  2. spring.datasource.url = jdbc:mysql://localhost:3306/e_bank_db?createDatabaseIfNotExist=true&useSSL=false
  3.  
  4. # Username and password
  5. spring.datasource.username = root
  6. spring.datasource.password =
  7.  
  8. # Hibernate ddl auto (create, create-drop, update): with "update" the database
  9. # schema will be automatically updated accordingly to java entities found in
  10. # the project
  11. # Using "create" will delete and recreate the tables every time the project is started
  12. spring.jpa.hibernate.ddl-auto = update
  13. spring.jpa.show-sql = true
  14. # Allows Hibernate to generate SQL optimized for a particular DBMS
  15. spring.jpa.properties.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
  16. spring.jpa.properties.hibernate.format_sql=TRUE
  17. #Turn off Thymeleaf cache
  18. spring.thymeleaf.cache = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement