improved sql parser.

This commit is contained in:
wenshao
2017-09-10 03:42:21 +08:00
parent 3330643479
commit 7d54eea716
37 changed files with 848 additions and 243 deletions
@@ -284,7 +284,12 @@ public class SQLUtils {
visitor.setTableMapping(tableMapping);
}
boolean printStmtSeperator = !JdbcConstants.ORACLE.equals(dbType);
boolean printStmtSeperator;
if (JdbcConstants.SQL_SERVER.equals(dbType)) {
printStmtSeperator = false;
} else {
printStmtSeperator = !JdbcConstants.ORACLE.equals(dbType);
}
for (int i = 0, size = statementList.size(); i < size; i++) {
SQLStatement stmt = statementList.get(i);