diff --git a/out/artifacts/SQL_Assesser_jar/SQL-Assesser.jar b/out/artifacts/SQL_Assesser_jar/SQL-Assesser.jar new file mode 100644 index 0000000..2028a19 Binary files /dev/null and b/out/artifacts/SQL_Assesser_jar/SQL-Assesser.jar differ diff --git a/src/nl/andrewlalis/log/QueryAction.java b/src/nl/andrewlalis/log/QueryAction.java index a21bcc1..5117794 100644 --- a/src/nl/andrewlalis/log/QueryAction.java +++ b/src/nl/andrewlalis/log/QueryAction.java @@ -169,7 +169,7 @@ public class QueryAction extends ExecutionAction { } sb.append(")\n\tValues:\n"); - while (this.resultSet.next()) { + do { sb.append("\t("); for (int i = 0; i < columnCount; i++) { sb.append(this.resultSet.getString(i + 1)); @@ -178,7 +178,7 @@ public class QueryAction extends ExecutionAction { } } sb.append(")\n"); - } + } while (this.resultSet.next()); return sb.toString();