Skip to content

Instantly share code, notes, and snippets.

@Edijun
Created April 30, 2019 07:30
Show Gist options
  • Select an option

  • Save Edijun/1a6041c12d2be9fa21723add9af74cb2 to your computer and use it in GitHub Desktop.

Select an option

Save Edijun/1a6041c12d2be9fa21723add9af74cb2 to your computer and use it in GitHub Desktop.
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.url =
spring.datasource.username =
spring.datasource.password =
spring.datasource.platform = postgres
## Hibernate Properties
# The SQL dialect makes Hibernate generate better SQL for the chosen database
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQL94Dialect
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto = update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment