HHH-8814 : Sequence generators on HSQLDB starts on 1 by default

This commit is contained in:
Benoit GUERIN 2013-12-23 10:01:55 +01:00 committed by Brett Meyer
parent e812a6ca3c
commit 2d8e5b4c25
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ public class HSQLDialect extends Dialect {
} }
protected String getCreateSequenceString(String sequenceName) { protected String getCreateSequenceString(String sequenceName) {
return "create sequence " + sequenceName; return "create sequence " + sequenceName + " start with 1";
} }
protected String getDropSequenceString(String sequenceName) { protected String getDropSequenceString(String sequenceName) {