From e18d2004dcd459fbda857ed8221554aff72507be Mon Sep 17 00:00:00 2001 From: Robin Bygrave Date: Mon, 2 Nov 2015 12:57:47 +1300 Subject: [PATCH] #448 - ENH: Postgres Support for UUID mapping to native DB UUID type (relating to #430) --- .../com/avaje/ebean/config/dbplatform/PostgresPlatform.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/avaje/ebean/config/dbplatform/PostgresPlatform.java b/src/main/java/com/avaje/ebean/config/dbplatform/PostgresPlatform.java index 02267058d..7941e6142 100644 --- a/src/main/java/com/avaje/ebean/config/dbplatform/PostgresPlatform.java +++ b/src/main/java/com/avaje/ebean/config/dbplatform/PostgresPlatform.java @@ -23,10 +23,10 @@ public class PostgresPlatform extends DatabasePlatform { // OnQueryOnly.CLOSE as a performance optimisation on Postgres this.onQueryOnly = OnQueryOnly.CLOSE; this.likeClause = "like ? escape''"; - this.selectCountWithAlias = true; this.blobDbType = Types.LONGVARBINARY; this.clobDbType = Types.VARCHAR; + this.nativeUuidType = true; this.dbEncrypt = new PostgresDbEncrypt(); this.historySupport = new PostgresHistorySupport();