HHH-8814 : Sequence generators on HSQLDB starts on 1 by default
This commit is contained in:
parent
e812a6ca3c
commit
2d8e5b4c25
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue