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
|
||||
public String getDropSequenceString(String sequenceName) {
|
||||
return "drop sequence " + sequenceName;
|
||||
return "drop sequence if exists " + sequenceName;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue