Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. spring.datasource.url = jdbc:mysql://localhost:3306/sbin28minutes
  2. spring.datasource.username = root
  3. spring.datasource.password =
  4. spring.datasource.driver-class-name = com.mysql.jdbc.Driver
  5.  
  6. # Keep the connection alive if idle for a long time (needed in production)
  7. spring.datasource.testWhileIdle = true
  8. spring.datasource.validationQuery = SELECT 1
  9.  
  10. # Show or not log for each sql query
  11. spring.jpa.show-sql = true
  12.  
  13. # Hibernate ddl auto (create, create-drop, update)
  14. spring.jpa.hibernate.ddl-auto = update
  15.  
  16. # Naming strategy
  17. spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
  18.  
  19. # Use spring.jpa.properties.* for Hibernate native properties (the prefix is
  20. # stripped before adding them to the entity manager)
  21.  
  22. # The SQL dialect makes Hibernate generate better SQL for the chosen database
  23. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement