PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

muzimilbasha_178465 avatar image
muzimilbasha_178465 asked ·

Using DSE Java driver 2.2 with spring Data Cassandra 2.1.X

I am using spring data cassandra 2.1.6. I included the dse driver-1.8.1 in my application as below

compile(group: 'org.springframework.data', name: 'spring-data-cassandra', version: 2.1.6.RELEASE) {
        exclude group: 'com.datastax.cassandra', module: 'cassandra-driver-core'
    }
 compile group: 'com.datastax.dse', name: 'dse-java-driver-core', version: 1.8.1

After looking at the docs, I found that


1. Spring Data cassandra use cassandra driver 3.6.0

2. DSE has latest driver 2.2


Now my question is that


1. By using 1.8.1 dse driver against the 3.6.0 cassandra driver, will there be any issues

2. How can I Include 2.2 version of dse driver in spring


cassandradse-java-driver-corespring-data-cassandra
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@muzimilbasha_178465 The DataStax drivers are designed for connecting to DataStax Enterprise clusters since they give you the ability to access DSE-specific features such as DSE Graph Fluent API and DSE Advanced Security.

If you are developing applications on open-source Apache Cassandra, then you should use the Apache Cassandra version of the drivers (instead of DataStax versions). For more info, see Developing applications with DataStax drivers. Cheers!

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

In earlier versions of dse driver, in documentation I have seen to exclude Cassandra driver and include dse driver. So, I thought if there is any way to the same using 2.2 dse driver.

0 Likes 0 · ·