Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Database config
- spring.datasource.driver-class-name= org.postgresql.Driver
- spring.datasource.url= jdbc:postgresql://localhost:5435/training
- spring.datasource.username= training
- spring.datasource.password= password123
- spring.jpa.show-sql= true
- spring.jpa.hibernate.ddl-auto= validate
- spring.jpa.properties.hibernate.default_schema=training
- spring.jpa.properties.hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
- # 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement