Skip to content

Instantly share code, notes, and snippets.

@andersonkxiass
Created April 23, 2017 21:22
Show Gist options
  • Save andersonkxiass/8096ddadecab38acbc2efe1046bb4d0e to your computer and use it in GitHub Desktop.
Save andersonkxiass/8096ddadecab38acbc2efe1046bb4d0e to your computer and use it in GitHub Desktop.
Application properties infos
spring.jpa.database=POSTGRESQL
spring.datasource.platform=postgres
spring.datasource.url=jdbc:postgresql://Host:Port/DatabaseName?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory
spring.datasource.username=User
spring.datasource.password=Password
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.testWhileIdle=true
spring.datasource.validationQuery=SELECT 1
spring.datasource.timeBetweenEvictionRunsMillis=3600000
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.jadira.usertype.autoRegisterUserTypes=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment