mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved oracle sql parser support CreateSequence. issue #1923
This commit is contained in:
@@ -38,6 +38,8 @@ public class SQLCreateSequenceStatement extends SQLStatementImpl implements SQLD
|
||||
|
||||
private Boolean cycle;
|
||||
private Boolean cache;
|
||||
private SQLExpr cacheValue;
|
||||
|
||||
private Boolean order;
|
||||
|
||||
@Override
|
||||
@@ -144,4 +146,15 @@ public class SQLCreateSequenceStatement extends SQLStatementImpl implements SQLD
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public SQLExpr getCacheValue() {
|
||||
return cacheValue;
|
||||
}
|
||||
|
||||
public void setCacheValue(SQLExpr cacheValue) {
|
||||
if (cacheValue != null) {
|
||||
cacheValue.setParent(this);
|
||||
}
|
||||
this.cacheValue = cacheValue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user