Advertisement
Guest User

Untitled

a guest
Oct 13th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1.  
  2. ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
  3. spring.datasource.url = jdbc:mysql://localhost:3306/sampledb?useSSL=false
  4. spring.datasource.username = admin
  5. spring.datasource.password = admin
  6.  
  7.  
  8. ## Hibernate Properties
  9. # The SQL dialect makes Hibernate generate better SQL for the chosen database
  10. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
  11.  
  12. # Hibernate ddl auto (create, create-drop, validate, update)
  13. spring.jpa.hibernate.ddl-auto = update
  14.  
  15. spring.datasource.driverClassName=com.mysql.jdbc.Driver
  16. a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement