[HHH-3254] Postgresql support for PooledSequences
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14583 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
ec3fb6d957
commit
a801ae0448
|
@ -234,7 +234,7 @@ public class PostgreSQLDialect extends Dialect {
|
|||
}
|
||||
|
||||
public String getCreateTemporaryTableString() {
|
||||
return "create local temporary table";
|
||||
return "create temporary table";
|
||||
}
|
||||
|
||||
public String getCreateTemporaryTablePostfix() {
|
||||
|
@ -308,7 +308,16 @@ public class PostgreSQLDialect extends Dialect {
|
|||
return rs;
|
||||
}
|
||||
|
||||
public boolean supportsPooledSequences() {
|
||||
return true;
|
||||
}
|
||||
|
||||
//only necessary for postgre < 7.4
|
||||
//http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/create_sequence.sgml
|
||||
protected String getCreateSequenceString(String sequenceName, int initialValue, int incrementSize) {
|
||||
return getCreateSequenceString( sequenceName ) + " start " + initialValue + " increment " + incrementSize;
|
||||
}
|
||||
|
||||
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// seems to not really...
|
||||
|
|
Loading…
Reference in New Issue