Advertisement
marildocesar

Config PostgreSQL with spring boot

Apr 14th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.44 KB | None | 0 0
  1. <dependency>
  2.     <groupId>org.postgresql</groupId>
  3.     <artifactId>postgresql</artifactId>
  4.     <version>42.2.2</version>
  5. </dependency>
  6.  
  7. spring.datasource.url= jdbc:postgresql://localhost:5432/nome_banco?useSSL=true
  8. spring.datasource.username=user
  9. spring.datasource.password=senha
  10. spring.datasource.driver-class-name=org.postgresql.Driver
  11. spring.jpa.hibernate.ddl-auto=update
  12. spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement