Advertisement
Guest User

Untitled

a guest
Mar 17th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. spring.datasource.url=jdbc:mysql://localhost:3306/bdd_disc?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
  2. spring.datasource.username=root
  3. spring.datasource.password=MP18711922
  4. spring.datasource.testWhileIdle = true
  5. spring.datasource.validationQuery = SELEC 1
  6.  
  7. # Show or not log for each sql query
  8. spring.jpa.show-sql = true
  9.  
  10. # Hibernate ddl auto (create, create-drop, update)
  11. spring.jpa.hibernate.ddl-auto = update
  12.  
  13. # Naming strategy
  14. spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
  15.  
  16. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
  17.  
  18. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement