diff --git a/src/main/resources/application-postgresql.properties b/src/main/resources/application-postgresql.properties new file mode 100644 index 00000000..0c483f4c --- /dev/null +++ b/src/main/resources/application-postgresql.properties @@ -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