HHH-6670: H2Dialect should use "if exists" when dropping sequences
This commit is contained in:
parent
fe94cda1d1
commit
275f3337f2
|
@ -278,7 +278,7 @@ public class H2Dialect extends Dialect {
|
|||
|
||||
@Override
|
||||
public String getDropSequenceString(String sequenceName) {
|
||||
return "drop sequence " + sequenceName;
|
||||
return "drop sequence if exists " + sequenceName;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue