[MonetDB-users] JDBC client error

I am running Monet Database Server V4.12.0 which came with MonetDB-XQuery-0.12.0. I would like to use MonetDB/XQuery from java, and compiled the JDBC client and the XMLDB interface (checked out from CVS), according to the instructions on the mailing lists. Now when I try java -jar jdbcclient-1.5.jar -lxquery -p50000 -umonetdb --Xdebug and enter the password, I get the following error: Database connect failed: Unsupported protocol version: 5 A look at the code (MonetConnection.java, line 366) tells me that version 6 and 7 are supported. The server came with the installer package for Windows. Should I use a newer version of the server? Best regards, Nico Verwer

Hi Nico, Thanks for using MonetDB/XQuery. I believe the windows installer is packaged with a JDBC driver itself which should be compatible with the installation. The latest version you checked out from CVS is indeed incompatible. If you are comfortable with CVS you could also checkout the JDBC sources at the time of the release using tag "SQL_2-14-0". On 21-12-2006 15:59:56 +0100, Nico Verwer wrote:
I am running Monet Database Server V4.12.0 which came with MonetDB-XQuery-0.12.0. I would like to use MonetDB/XQuery from java, and compiled the JDBC client and the XMLDB interface (checked out from CVS), according to the instructions on the mailing lists.
Now when I try java -jar jdbcclient-1.5.jar -lxquery -p50000 -umonetdb --Xdebug and enter the password, I get the following error: Database connect failed: Unsupported protocol version: 5
A look at the code (MonetConnection.java, line 366) tells me that version 6 and 7 are supported. The server came with the installer package for Windows. Should I use a newer version of the server?
Best regards, Nico Verwer
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (2)
-
Fabian Groffen
-
Nico Verwer