change sql format

This commit is contained in:
shaojin.wensj
2015-07-22 01:18:51 +08:00
parent 0ace7d12bb
commit afdf17b154
29 changed files with 50 additions and 88 deletions
@@ -268,7 +268,9 @@ public class SQLUtils {
if (i == statementList.size() - 1) {
Boolean semi = (Boolean) stmt.getAttribute("format.semi");
if (semi != null && semi.booleanValue()) {
visitor.println();
if (stmt.hasAfterComment()) {
visitor.println();
}
visitor.print(";");
}