#1917 - PostgresPlatform (9+) does not support IdType.IDENTITY?

This commit is contained in:
rob bygrave
2020-01-28 09:46:24 +13:00
parent c51a1b07a4
commit 07aa39c5de
2 changed files with 1 additions and 2 deletions
@@ -14,8 +14,6 @@ public class Postgres8Platform extends PostgresPlatform {
super();
this.dbIdentity.setSupportsGetGeneratedKeys(false);
this.dbIdentity.setIdType(IdType.SEQUENCE);
this.dbIdentity.setSupportsSequence(true);
this.dbIdentity.setSupportsIdentity(true);
this.columnAliasPrefix = "as c";
}
@@ -44,6 +44,7 @@ public class PostgresPlatform extends DatabasePlatform {
this.dbIdentity.setIdType(IdType.IDENTITY);
this.dbIdentity.setSupportsGetGeneratedKeys(true);
this.dbIdentity.setSupportsSequence(true);
this.dbIdentity.setSupportsIdentity(true);
this.dbDefaultValue.setNow("current_timestamp");