Yes I am giving the DB Url correctly.
When I try run a sample as mentioned in  https://dev.monetdb.org/hg/monetdb-java/file/tip/example/SQLcopyinto.java no records getting inserted to table.
I got row count as 0

Please find the sample Program attached

On Tue, Jan 9, 2018 at 3:34 AM, dinther <dinther@monetdbsolutions.com> wrote:

I assume you refer to https://dev.monetdb.org/hg/monetdb-java/file/tip/example/SQLcopyinto.java

What is not working on SQLcopyinto.java example program?

Does your connection to the MonetDB server succeed? So:
  Connection con = DriverManager.getConnection("jdbc:monetdb://localhost/database", "monetdb", "monetdb");
succeeds?
If not, change the connection URL to match your MonetDB server, database and user names.

Note: In the example the name of the database is "database". It may be a different name (e.g. demo) in your situation. It depends on how your started MonetDB server.

MvD


On 05-01-2018 12:06, suvendu chakra wrote:
Hello,
I am following SQLCopInto.java to upload bulk data into MonetDB but seems to be not working.
I am even using mclient command to upload data but the command expects the input file to be accessible by the DB server, is there any alternative to this.

Please suggest a best way to do through JDBC

Thanks


_______________________________________________
users-list mailing list
users-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/users-list


_______________________________________________
users-list mailing list
users-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/users-list