#389 - ENH: Allow Postgres8 platform also support identity (stills defaults to use sequences but can also use identity if defined explicitly)

This commit is contained in:
Robin Bygrave
2015-08-19 13:24:58 +12:00
parent ea54d1b794
commit f8ef87f7a8
@@ -13,6 +13,7 @@ public class Postgres8Platform extends PostgresPlatform {
this.dbIdentity.setSupportsGetGeneratedKeys(false);
this.dbIdentity.setIdType(IdType.SEQUENCE);
this.dbIdentity.setSupportsSequence(true);
this.dbIdentity.setSupportsIdentity(true);
this.columnAliasPrefix = "as c";
}