Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
- spring.datasource.url=jdbc:${DATABASE_URL}
- # spring.datasource.url=jdbc:postgresql://localhost:5432/mydb
- spring.datasource.username=SamuelCha
- spring.datasource.password=
- # Disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details.
- spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
- # Because detection is disabled you have to set correct dialect by hand.
- spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
- # Hibernate ddl auto (create, create-drop, validate, update)
- spring.jpa.hibernate.ddl-auto=update
Add Comment
Please, Sign In to add comment