From 84998f6641542a5291e922f1041729abf2b381c3 Mon Sep 17 00:00:00 2001 From: heroys6 <17671039+heroys6@users.noreply.github.com> Date: Thu, 22 Aug 2019 16:21:54 +0300 Subject: [PATCH 1/2] Fix "Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented" issue Common issue: "Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented" that can be easily fixed with specified property --- src/main/resources/application.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ff398ee..bac5f19 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -8,3 +8,6 @@ spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialec # Hibernate ddl auto (create, create-drop, validate, update) spring.jpa.hibernate.ddl-auto = update + +# To fix "Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented" issue +spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true From e62126f863aafb53687fa77dab3ebbde61231e26 Mon Sep 17 00:00:00 2001 From: heroys6 <17671039+heroys6@users.noreply.github.com> Date: Thu, 22 Aug 2019 16:29:07 +0300 Subject: [PATCH 2/2] A little syntax fix --- 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 bac5f19..27bc18e 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -10,4 +10,4 @@ spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialec spring.jpa.hibernate.ddl-auto = update # To fix "Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented" issue -spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true +spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation = true