提交 2748b4f5 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 e3d1039b
......@@ -26,6 +26,10 @@ public class Constant extends SchemaObject {
public String getCreateSQLForCopy(Table table, String quotedName) {
throw Message.getInternalError();
}
public String getDropSQL() {
return null;
}
public String getCreateSQL() {
StringBuffer buff = new StringBuffer();
......
......@@ -45,6 +45,10 @@ public class Schema extends DbObject {
public String getCreateSQLForCopy(Table table, String quotedName) {
throw Message.getInternalError();
}
public String getDropSQL() {
return null;
}
public String getCreateSQL() {
if(system) {
......
......@@ -45,6 +45,13 @@ public class Sequence extends SchemaObject {
this.increment = inc;
}
public String getDropSQL() {
if(getBelongsToTable()) {
return null;
}
return "DROP SEQUENCE IF EXISTS " + getSQL();
}
public String getCreateSQLForCopy(Table table, String quotedName) {
throw Message.getInternalError();
}
......
......@@ -161,6 +161,10 @@ public class TriggerObject extends SchemaObject {
public boolean getNoWait() {
return noWait;
}
public String getDropSQL() {
return null;
}
public String getCreateSQLForCopy(Table table, String quotedName) {
StringBuffer buff = new StringBuffer();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论