Datastax driver vs spring -data-cassandra

Hey, I'm new to Cassandra and I'm friends with Spring jdbc-template.

Can someone explain the difference between the two? Also can you suggest which one is good to use?

thanks.

+4
source share
1 answer

spring -data-cassandra uses datastax java-driver, so the decision that needs to be made really depends on whether you need spring-data functions.

Some functions from spring data that may be useful to you (documented here ):

  • spring xml to configure your cluster instance (especially useful if you are already using spring).
  • component display objects.

The java driver also has a display component that is worth exploring.

In my opinion, if you are already using spring, you should take a look at spring -data-cassandra. Otherwise, it would be nice to start with the datastax java driver.

+6
source

All Articles