Advertisement
Guest User

Untitled

a guest
Apr 7th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. spring.datasource.url = jdbc:mysql://localhost:3306/gastronomy
  2. spring.datasource.username = root
  3. spring.datasource.password = mysql
  4. # Keep the connection alive if idle for a long time (needed in production)
  5. #spring.datasource.testWhileIdle = true
  6. #spring.datasource.validationQuery = SELECT 1
  7. # Show or not log for each sql query
  8. spring.jpa.show-sql = false
  9. spring.jpa.hibernate.ddl-auto = create-drop
  10. # Hibernate ddl auto (create, create-drop, update)
  11. # Use spring.jpa.properties.* for Hibernate native properties (the prefix is
  12. # stripped before adding them to the entity manager)
  13. # The SQL dialect makes Hibernate generate better SQL for the chosen database
  14. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
  15. logging.level.org.springframework.web=ERROR
  16. spring.profiles.include[0]=default
  17. #spring.profiles.include[1]=test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement