From c77006dc620bfeb36317b9820c283ea1be296b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Pe=C5=A1ek?= Date: Tue, 7 Nov 2023 14:06:29 +0100 Subject: [PATCH] Fix #685: HHH90000025: PostgreSQLDialect does not need to be specified explicitly (#686) --- docs-private/Developer-How-To-Start.md | 1 - powerauth-push-server/src/main/resources/application.properties | 2 -- .../resources/application-test-multiple-activations.properties | 1 - .../src/test/resources/application-test.properties | 1 - 4 files changed, 5 deletions(-) diff --git a/docs-private/Developer-How-To-Start.md b/docs-private/Developer-How-To-Start.md index 7bd73bfe0..f8be00deb 100644 --- a/docs-private/Developer-How-To-Start.md +++ b/docs-private/Developer-How-To-Start.md @@ -6,7 +6,6 @@ ### Standalone Run -- Enable maven profile `standalone` - Use IntelliJ Idea run configuration at `../.run/PowerAuthPushServerJavaApplication.run.xml` - Open [http://localhost:8089/powerauth-push-server/actuator/health](http://localhost:8089/powerauth-push-server/actuator/health) and you should get `{"status":"UP"}` diff --git a/powerauth-push-server/src/main/resources/application.properties b/powerauth-push-server/src/main/resources/application.properties index 119fbe933..1f01cbfd9 100644 --- a/powerauth-push-server/src/main/resources/application.properties +++ b/powerauth-push-server/src/main/resources/application.properties @@ -7,8 +7,6 @@ spring.datasource.username=powerauth spring.datasource.password= spring.datasource.hikari.auto-commit=false spring.datasource.driver-class-name=org.postgresql.Driver -spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect -spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false spring.jpa.properties.hibernate.connection.characterEncoding=utf8 spring.jpa.properties.hibernate.connection.useUnicode=true diff --git a/powerauth-push-server/src/test/resources/application-test-multiple-activations.properties b/powerauth-push-server/src/test/resources/application-test-multiple-activations.properties index 3d1fd05c9..58a5195c3 100644 --- a/powerauth-push-server/src/test/resources/application-test-multiple-activations.properties +++ b/powerauth-push-server/src/test/resources/application-test-multiple-activations.properties @@ -23,7 +23,6 @@ spring.datasource.url=jdbc:h2:file:~/powerauth;MODE=LEGACY spring.datasource.username=sa spring.datasource.password= spring.datasource.driver-class-name=org.h2.Driver -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect # Hibernate Configuration spring.jpa.hibernate.ddl-auto=create-drop diff --git a/powerauth-push-server/src/test/resources/application-test.properties b/powerauth-push-server/src/test/resources/application-test.properties index bc0ffc546..2b7955d51 100644 --- a/powerauth-push-server/src/test/resources/application-test.properties +++ b/powerauth-push-server/src/test/resources/application-test.properties @@ -21,7 +21,6 @@ spring.datasource.url=jdbc:h2:file:~/powerauth;MODE=LEGACY spring.datasource.username=sa spring.datasource.password= spring.datasource.driver-class-name=org.h2.Driver -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect # Hibernate Configuration spring.jpa.hibernate.ddl-auto=create-drop