1.1 --- a/java/sql-dk/src/main/java/info/globalcode/sql/dk/DatabaseConnection.java Fri Dec 20 12:55:01 2019 +0100
1.2 +++ b/java/sql-dk/src/main/java/info/globalcode/sql/dk/DatabaseConnection.java Sat Jul 25 17:25:19 2020 +0200
1.3 @@ -118,7 +118,7 @@
1.4 }
1.5 logWarnings(ps);
1.6
1.7 - while (ps.getMoreResults() || ps.getUpdateCount() > -1) {
1.8 + while (ps.getMoreResults() || ps.getUpdateCount() != -1) {
1.9 ResultSet rs = ps.getResultSet();
1.10 if (rs == null) {
1.11 processUpdateResult(ps, formatter);