Guest User

Untitled

a guest
Jan 15th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
  2. spring.datasource.url=jdbc:postgresql://localhost:5432/:DB_NAME:
  3. spring.datasource.username= :username:
  4. spring.datasource.password= :password:
  5.  
  6. # The SQL dialect makes Hibernate generate better SQL for the chosen database
  7. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
  8.  
  9. # Hibernate ddl auto (create, create-drop, validate, update)
  10. spring.jpa.hibernate.ddl-auto = create-drop
  11.  
  12. # change default port from 8080 to any port (my case 9001)
  13. server.port=9001
Add Comment
Please, Sign In to add comment