Hi, i'm having some issues implementing the java jdbc with a grails-app. Grails is a framework that runs on the jvm, allowing you to write all your code in java if you want. I'm using exactly the code you provide on your web page but it isn't recognizing a proper driver to connect to monet at runtime. I also tried to search some repo that provides a plugin or extension that allows me to use but i get the same error (the only one i found was www.clojars.com/monetdb), is there any example of a driver implementation you can provide or any forum to forward this? Thanks in advice
Hi, Please make sure you have the jar file with the driver (https://www.monetdb.org/downloads/Java/Jul2015/jdbcclient.jar) in the classpath. Can you please post the error here ? driver class: nl.cwi.monetdb.jdbc.MonetDriver jdbc URL: jdbc:monetdb://hostname:port/database Radovan On 10/03/2015 06:52 PM, Federico G Agripa wrote:
Hi,
i'm having some issues implementing the java jdbc with a grails-app. Grails is a framework that runs on the jvm, allowing you to write all your code in java if you want.
I'm using exactly the code you provide on your web page but it isn't recognizing a proper driver to connect to monet at runtime. I also tried to search some repo that provides a plugin or extension that allows me to use but i get the same error (the only one i found was www.clojars.com/monetdb http://www.clojars.com/monetdb), is there any example of a driver implementation you can provide or any forum to forward this?
Thanks in advice
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
Hi, see: https://www.monetdb.org/Documentation/Manuals/SQLreference/Programming/JDBC You probably only need the monetdb-jdbc-2.17.jar (and not the jdbcclient.jar which also contains a client command line program). To use the MonetDB JDBC driver, the monetdb-jdbc-2.17.jar jar-archive has to be in the Java classpath of your jvm. Regards, martin On 05-10-15 08:06, Radovan Bičiště wrote:
Hi, Please make sure you have the jar file with the driver (https://www.monetdb.org/downloads/Java/Jul2015/jdbcclient.jar) in the classpath. Can you please post the error here ?
driver class: nl.cwi.monetdb.jdbc.MonetDriver jdbc URL: jdbc:monetdb://hostname:port/database
Radovan
On 10/03/2015 06:52 PM, Federico G Agripa wrote:
Hi,
i'm having some issues implementing the java jdbc with a grails-app. Grails is a framework that runs on the jvm, allowing you to write all your code in java if you want.
I'm using exactly the code you provide on your web page but it isn't recognizing a proper driver to connect to monet at runtime. I also tried to search some repo that provides a plugin or extension that allows me to use but i get the same error (the only one i found was www.clojars.com/monetdb http://www.clojars.com/monetdb), is there any example of a driver implementation you can provide or any forum to forward this?
Thanks in advice
_______________________________________________ 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
Hi guys, thanks all of you for responses and sorry for answer so late. After a few tries i come with the real error: i'm not correctly adding the jar to my grails class path. I tried exactly the same code in a brand new java application and it work perfectly, so my problem now is how grails 2.4.3 actually deal with custom dependencies and the java class path. On Thu, Oct 8, 2015 at 1:39 PM, martin van dinther < martin.van.dinther@monetdbsolutions.com> wrote:
Hi,
see: https://www.monetdb.org/Documentation/Manuals/SQLreference/Programming/JDBC
You probably only need the monetdb-jdbc-2.17.jar (and not the jdbcclient.jar which also contains a client command line program).
To use the MonetDB JDBC driver, the monetdb-jdbc-2.17.jar jar-archive has to be in the Java classpath of your jvm.
Regards, martin
On 05-10-15 08:06, Radovan Bičiště wrote:
Hi, Please make sure you have the jar file with the driver ( https://www.monetdb.org/downloads/Java/Jul2015/jdbcclient.jar) in the classpath. Can you please post the error here ?
driver class: nl.cwi.monetdb.jdbc.MonetDriver jdbc URL: jdbc:monetdb://hostname:port/database
Radovan
On 10/03/2015 06:52 PM, Federico G Agripa wrote:
Hi,
i'm having some issues implementing the java jdbc with a grails-app. Grails is a framework that runs on the jvm, allowing you to write all your code in java if you want.
I'm using exactly the code you provide on your web page but it isn't recognizing a proper driver to connect to monet at runtime. I also tried to search some repo that provides a plugin or extension that allows me to use but i get the same error (the only one i found was www.clojars.com/monetdb http://www.clojars.com/monetdb), is there any example of a driver implementation you can provide or any forum to forward this?
Thanks in advice
_______________________________________________ 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
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (3)
-
Federico G Agripa
-
martin van dinther
-
Radovan Bičiště