This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Data Cassandra 4.4.0! |
Migration Guide from 4.x to 4.3
Spring Data for Apache Cassandra 4.3 has migrated the com.datastax.oss
groupId to org.apache.cassandra
.
Migration of the Datastax driver into Apache
With the migration of the Datastax driver into the Apache foundation, you need to update coordinates of the driver in your code. Consider the following example showing a potential previous state of a Maven project configuration:
Example 1.
pom.xml
Example up to 4.2.x<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-core</artifactId>
</dependency>
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-query-builder</artifactId>
</dependency>
With upgrading the groupId from com.datastax.oss
to org.apache.cassandra
your project configuration would look like:
Example 2.
pom.xml
Example since to 4.3.x<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>java-driver-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>java-driver-query-builder</artifactId>
</dependency>