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