Page 1 of 1

Manually add C* 3 driver

PostPosted: Tue Dec 15, 2015 8:32 am
by cbha
Hi there,

I'm trying to add the C* 3 java driver from to DBeaver. Any hints on the settings I have to use to get this working?
From what I understand this is the way to use DBeaver with C* 3 until the driver is stable, right?

Thanks!

Re: Manually add C* 3 driver

PostPosted: Tue Dec 15, 2015 3:03 pm
by Serge
Hi,

Sorry for my ignorance, what is C* 3?

Re: Manually add C* 3 driver

PostPosted: Wed Dec 16, 2015 8:23 am
by cbha
Pardon me. It's Cassandra 3.

Re: Manually add C* 3 driver

PostPosted: Wed Dec 16, 2015 2:44 pm
by Serge
It is not possible to change Cassandra driver from DBeaver UI. In contrast with JDBC drivers (which have standard API and standard ways to load/link them) Cassandra java driver is used directly. The only way to update it is to change Cassandra java driver version in DBeaver sources and recompile (sometimes additional code modification may be required because Datastax guys don't really care about backward code compatibility).
Once Cassandra 3 driver will become stable (currently only alpha versions are available) I'll update it in standard DBeaver distribution.

Re: Manually add C* 3 driver

PostPosted: Thu Dec 17, 2015 7:36 am
by cbha
Okay, thank you. We've encountered other incompatibilites with Cassandra 3, so for now we're using 2.2, which is working fine with DBeaver.

Re: Manually add C* 3 driver

PostPosted: Wed Jan 20, 2016 10:19 am
by scnt
Hi, I've been trying to use DBeaver with Cassandra 3. However, a difference between Cassandra 2 and 3 is that some system tables have been moved to a new keyspace (see also https://issues.apache.org/jira/browse/CASSANDRA-6717). This means that DBeaver can't connect because it's trying to access a non-existing table. I wanted to modify the Cassandra driver by checking out https://svn.jkiss.org/dev/jkiss/trunk/jdbc/cassandra/ but it's asking for a username and password. Is it possible for me to edit the source code of the driver? Or is my only option to wait for an official release?

Thanks!

Re: Manually add C* 3 driver

PostPosted: Thu Jan 21, 2016 8:11 am
by Serge
svn.jkiss.org is no longer available. We moved to GitHub a couple of months ago: https://github.com/serge-rider/dbeaver
However Cassandra driver is not open source for now.
I just noticed that DataStax has released RC version of C3 Java driver. I'll update driver in one of the next version.

BTW could you create a feature request on our GitHub issue tracker?

Re: Manually add C* 3 driver

PostPosted: Thu Jan 21, 2016 8:56 am
by scnt
Thanks for your response, I've made an issue in github: https://github.com/serge-rider/dbeaver/issues/167