Skip to content

Commit

Permalink
Merge pull request #565 from VisheshSaluja/postgreSQL
Browse files Browse the repository at this point in the history
PostgreSQL
  • Loading branch information
VisheshSaluja authored Sep 12, 2024
2 parents 59545a3 + 6149618 commit b8c6a50
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/main/resources/application-postgresql.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# PostgreSQL Configuration


###########################################################################
# Add the Database name, User name, password by removing the double quote. #
###########################################################################

spring.datasource.url=jdbc:postgresql://localhost:5432/"add the name of DB" #Eg: gw_db
spring.datasource.username="add DB suername" #Eg: gw_user
spring.datasource.password="password" #Eg: password
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect



# Debugging properties (can be enabled if needed)
# spring.jpa.show-sql=true
# spring.jpa.properties.hibernate.format_sql=true
# spring.jpa.properties.hibernate.use_sql_comments=true
# logging.level.org.hibernate.type.descriptor.sql=trace



spring.datasource.hikari.auto-commit=true

0 comments on commit b8c6a50

Please sign in to comment.