comparison src/main/java/org/monetdb/client/JdbcClient.java @ 927:d311affc65f0

Stop referring to monetdb.org/bugzilla, point straight to github.
author Sjoerd Mullender <sjoerd@acm.org>
date Mon, 07 Oct 2024 13:18:07 +0200 (6 months ago)
parents d9a45743536d
children d416e9b6b3d0
comparison
equal deleted inserted replaced
926:0ce63f3686fe 927:d311affc65f0
1190 } else { 1190 } else {
1191 query.append('\n'); 1191 query.append('\n');
1192 } 1192 }
1193 if (batchSize > 0 && i % batchSize == 0) { 1193 if (batchSize > 0 && i % batchSize == 0) {
1194 stmt.executeBatch(); 1194 stmt.executeBatch();
1195 // stmt.clearBatch(); // this is no longer needed after call executeBatch(), see https://www.monetdb.org/bugzilla/show_bug.cgi?id=6953 1195 // stmt.clearBatch(); // this is no longer needed after call executeBatch(), see https://github.com/MonetDB/MonetDB/issues/6953
1196 } 1196 }
1197 } 1197 }
1198 stmt.addBatch(query.toString()); 1198 stmt.addBatch(query.toString());
1199 stmt.executeBatch(); 1199 stmt.executeBatch();
1200 // stmt.clearBatch(); // this is no longer needed after call executeBatch(), see https://www.monetdb.org/bugzilla/show_bug.cgi?id=6953 1200 // stmt.clearBatch(); // this is no longer needed after call executeBatch(), see https://github.com/MonetDB/MonetDB/issues/6953
1201 } catch (SQLException e) { 1201 } catch (SQLException e) {
1202 do { 1202 do {
1203 System.err.println("Error at line " + i + ": [" + e.getSQLState() + "] " + e.getMessage()); 1203 System.err.println("Error at line " + i + ": [" + e.getSQLState() + "] " + e.getMessage());
1204 // print all error messages in the chain (if any) 1204 // print all error messages in the chain (if any)
1205 } while ((e = e.getNextException()) != null); 1205 } while ((e = e.getNextException()) != null);