Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AlejandroSoftwareDeveloper/3d66c6068f9f1dfd81af7f2278929a3e to your computer and use it in GitHub Desktop.
Save AlejandroSoftwareDeveloper/3d66c6068f9f1dfd81af7f2278929a3e to your computer and use it in GitHub Desktop.
application properties for postgresql
spring.application.name=ProjectName
spring.datasource.url=jdbc:postgresql://localhost:5432/DataBaseName?createDatabaseIfNotExist=true
spring.datasource.username=root
spring.datasource.password=
# Hibernate Configuration
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=create-drop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment