improved oracle sql parser. for pl/sql in_out parameter.

This commit is contained in:
wenshao
2017-05-12 01:00:45 +08:00
parent bee259a0b4
commit 9c971bc013
5 changed files with 120 additions and 3 deletions
@@ -3344,10 +3344,14 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
} else if (x.getParamType() == SQLParameter.ParameterType.OUT) {
print0(ucase ? " OUT " : " out ");
} else if (x.getParamType() == SQLParameter.ParameterType.INOUT) {
print0(ucase ? " INOUT " : " inout ");
print0(ucase ? " IN OUT " : " in out ");
} else {
print(' ');
}
if (x.isNoCopy()) {
print0(ucase ? "NOCOPY " : "nocopy ");
}
} else {
if (x.getParamType() == SQLParameter.ParameterType.IN) {
print0(ucase ? "IN " : "in ");