From 9bda4ab5c7ed15f39b66d5e6685b859d3c743875 Mon Sep 17 00:00:00 2001 From: Rob Bygrave Date: Wed, 13 Oct 2021 09:37:40 +1300 Subject: [PATCH] #2303 - Add javadoc for notes on Postgres with "allQuotedIdentifiers = true" --- ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java | 3 +++ ebean-api/src/main/java/io/ebean/config/PlatformConfig.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java b/ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java index ba0ca78d1..a4b6a6ace 100644 --- a/ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java +++ b/ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java @@ -1547,6 +1547,9 @@ public class DatabaseConfig { /** * Set to true if all DB column and table names should use quoted identifiers. + *

+ * For Postgres pgjdbc version 42.2.24 should be used with datasource property + * quoteReturningIdentifiers set to false (refer #2303). */ public void setAllQuotedIdentifiers(boolean allQuotedIdentifiers) { platformConfig.setAllQuotedIdentifiers(allQuotedIdentifiers); diff --git a/ebean-api/src/main/java/io/ebean/config/PlatformConfig.java b/ebean-api/src/main/java/io/ebean/config/PlatformConfig.java index bcb97158d..6062759d2 100644 --- a/ebean-api/src/main/java/io/ebean/config/PlatformConfig.java +++ b/ebean-api/src/main/java/io/ebean/config/PlatformConfig.java @@ -117,6 +117,9 @@ public class PlatformConfig { /** * Set to true if all DB column and table names should use quoted identifiers. + *

+ * For Postgres pgjdbc version 42.2.24 should be used with datasource property + * quoteReturningIdentifiers set to false (refer #2303). */ public void setAllQuotedIdentifiers(boolean allQuotedIdentifiers) { this.allQuotedIdentifiers = allQuotedIdentifiers;