Skip to content

Commit b08f190

Browse files
author
Corneil du Plessis
committed
Fix PostgreSQL dialect in local deployment.
1 parent 58866e9 commit b08f190

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/deploy/k8s/deploy-scdf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$K8S_DRIVER" != "tmc" ] && [ "$K8S_DRIVER" != "gke" ]; then
103103
;;
104104
"postgresql")
105105
# TODO get version from yaml spec.template.spec.containers[0].image
106-
sh "$SCDIR/load-image.sh" "postgres" "14.8"
106+
sh "$SCDIR/load-image.sh" "postgres" "14"
107107
;;
108108
*)
109109
echo "DATABASE=$DATABASE not supported"

src/deploy/k8s/yaml/datasource-config-postgresql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metadata:
1717
data:
1818
SPRING_DATASOURCE_URL: 'jdbc:postgresql://postgresql:5432/dataflow'
1919
SPRING_DATASOURCE_DRIVER_CLASS_NAME: 'org.postgresql.Driver'
20-
SPRING_JPA_DATABASE_PLATFORM: 'org.hibernate.dialect.ProgressDialect'
20+
SPRING_JPA_DATABASE_PLATFORM: 'org.hibernate.dialect.PostgreSQL10Dialect'
2121
SPRING_DATASOURCE_TEST_ON_BORROW: 'true'
2222
SPRING_DATASOURCE_VALIDATION_QUERY: "SELECT 1"
2323
SPRING_DATASOURCE_HIKARI_DATA_SOURCE_PROPERTIES_USE_UNICODE: 'true'

0 commit comments

Comments
 (0)