Mercurial > hg > monetdb-java
comparison tests/SQLcopyinto.java @ 344:8985d2409c10
Update name of MonetDB JDBC jar file in error msg.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Wed, 06 Nov 2019 12:59:56 +0100 (2019-11-06) |
parents | d4baf8a4b43a |
children | 54137aeb1f92 |
comparison
equal
deleted
inserted
replaced
343:48ee2ca98975 | 344:8985d2409c10 |
---|---|
24 | 24 |
25 public static void main(String[] args) throws Exception { | 25 public static void main(String[] args) throws Exception { |
26 System.out.println("SQLcopyinto started"); | 26 System.out.println("SQLcopyinto started"); |
27 if (args.length == 0) { | 27 if (args.length == 0) { |
28 System.err.println("Error: missing startup argument: the jdbc connection url !"); | 28 System.err.println("Error: missing startup argument: the jdbc connection url !"); |
29 System.err.println("Usage: java -cp monetdb-jdbc-2.28.jar:. SQLcopyinto \"jdbc:monetdb://localhost:50000/demo?user=monetdb&password=monetdb\""); | 29 System.err.println("Usage: java -cp monetdb-jdbc-2.29.jre7.jar:. SQLcopyinto \"jdbc:monetdb://localhost:50000/demo?user=monetdb&password=monetdb\""); |
30 System.exit(-1); | 30 System.exit(-1); |
31 } | 31 } |
32 String jdbc_url = args[0]; | 32 String jdbc_url = args[0]; |
33 | 33 |
34 // request a connection to MonetDB server via the driver manager | 34 // request a connection to MonetDB server via the driver manager |