Mercurial > hg > monetdb-java
comparison example/OnClientExample.java @ 556:87feb93330a6 onclient
Misc. changes suggested by analysis tool
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Thu, 16 Sep 2021 11:14:55 +0200 (2021-09-16) |
parents | 5ce6a942aff3 |
children | ebf65f416da9 |
comparison
equal
deleted
inserted
replaced
555:90c346571eb4 | 556:87feb93330a6 |
---|---|
19 import java.sql.*; | 19 import java.sql.*; |
20 | 20 |
21 public class OnClientExample { | 21 public class OnClientExample { |
22 | 22 |
23 public static void main(String[] args) { | 23 public static void main(String[] args) { |
24 int status = 0; | 24 int status; |
25 try { | 25 try { |
26 // Ideally this would not be hardcoded.. | 26 // Ideally this would not be hardcoded.. |
27 final String dbUrl = "jdbc:monetdb://localhost:55000/banana"; | 27 final String dbUrl = "jdbc:monetdb://localhost:55000/banana"; |
28 final String uploadDir = "/home/jvr/mydata"; | 28 final String uploadDir = "/home/jvr/mydata"; |
29 final boolean filesAreUtf8 = false; | 29 final boolean filesAreUtf8 = false; |