Guest User

Untitled

a guest
Sep 26th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
  2. spring.datasource.url=jdbc:${DATABASE_URL}
  3. # spring.datasource.url=jdbc:postgresql://localhost:5432/mydb
  4. spring.datasource.username=SamuelCha
  5. spring.datasource.password=
  6.  
  7. # Disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details.
  8. spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
  9.  
  10. # Because detection is disabled you have to set correct dialect by hand.
  11. spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
  12.  
  13. # Hibernate ddl auto (create, create-drop, validate, update)
  14. spring.jpa.hibernate.ddl-auto=update
Add Comment
Please, Sign In to add comment