From dd5fe5255ac954987bbac4dd030056d3491ee052 Mon Sep 17 00:00:00 2001 From: Prashantharugade Date: Thu, 25 Mar 2021 09:48:07 +0530 Subject: [PATCH 1/2] Update application.properties --- src/main/resources/application.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 35b376a..60072a0 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,6 @@ ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) -spring.datasource.url=jdbc:postgresql://localhost:5432/postgres_demo -spring.datasource.username= postgres +spring.datasource.url=jdbc:postgresql://postgresql:5432/postgres_demo +spring.datasource.username= postgresadmin spring.datasource.password= # The SQL dialect makes Hibernate generate better SQL for the chosen database From 186e333305ec6a3a3617c0df28106d1d4834e5b7 Mon Sep 17 00:00:00 2001 From: Prashantharugade Date: Thu, 25 Mar 2021 10:01:16 +0530 Subject: [PATCH 2/2] Update application.properties --- src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 60072a0..8184775 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,7 +1,7 @@ ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) spring.datasource.url=jdbc:postgresql://postgresql:5432/postgres_demo spring.datasource.username= postgresadmin -spring.datasource.password= +spring.datasource.password= password # The SQL dialect makes Hibernate generate better SQL for the chosen database spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect