Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
- spring.datasource.url=jdbc:postgresql://localhost:5432/:DB_NAME:
- spring.datasource.username= :username:
- spring.datasource.password= :password:
- # The SQL dialect makes Hibernate generate better SQL for the chosen database
- spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
- # Hibernate ddl auto (create, create-drop, validate, update)
- spring.jpa.hibernate.ddl-auto = create-drop
- # change default port from 8080 to any port (my case 9001)
- server.port=9001
Add Comment
Please, Sign In to add comment