Advertisement
Guest User

Untitled

a guest
Aug 5th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. #Database config
  2. spring.datasource.driver-class-name= org.postgresql.Driver
  3. spring.datasource.url= jdbc:postgresql://localhost:5435/training
  4. spring.datasource.username= training
  5. spring.datasource.password= password123
  6. spring.jpa.show-sql= true
  7. spring.jpa.hibernate.ddl-auto= validate
  8. spring.jpa.properties.hibernate.default_schema=training
  9. spring.jpa.properties.hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
  10.  
  11. # Disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details.
  12. spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
  13.  
  14. # Because detection is disabled you have to set correct dialect by hand.
  15. spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement