File tree 5 files changed +58
-6
lines changed
src/main/java/org/springframework/data/cassandra/core/convert
src/main/antora/modules/ROOT
5 files changed +58
-6
lines changed Original file line number Diff line number Diff line change 90
90
<build .cassandra.ssl_storage_port>17001</build .cassandra.ssl_storage_port>
91
91
<build .cassandra.storage_port>17000</build .cassandra.storage_port>
92
92
<cassandra .version>3.11.12</cassandra .version>
93
- <cassandra-driver .version>4.17 .0</cassandra-driver .version>
93
+ <cassandra-driver .version>4.18 .0</cassandra-driver .version>
94
94
<dist .id>spring-data-cassandra</dist .id>
95
95
<el .version>1.0</el .version>
96
96
<!-- NOTE: com.carrotsearch:hppc dependency version set to same version as Apache Cassandra 3.11.5 -->
105
105
106
106
<!-- Cassandra Driver -->
107
107
<dependency >
108
- <groupId >com.datastax.oss </groupId >
108
+ <groupId >org.apache.cassandra </groupId >
109
109
<artifactId >java-driver-bom</artifactId >
110
110
<version >${cassandra-driver.version} </version >
111
111
<scope >import</scope >
Original file line number Diff line number Diff line change 62
62
63
63
<!-- Cassandra driver -->
64
64
<dependency >
65
- <groupId >com.datastax.oss </groupId >
65
+ <groupId >org.apache.cassandra </groupId >
66
66
<artifactId >java-driver-core</artifactId >
67
67
</dependency >
68
68
69
69
<dependency >
70
- <groupId >com.datastax.oss </groupId >
70
+ <groupId >org.apache.cassandra </groupId >
71
71
<artifactId >java-driver-query-builder</artifactId >
72
72
</dependency >
73
73
128
128
<optional >true</optional >
129
129
</dependency >
130
130
131
+ <dependency >
132
+ <groupId >com.google.code.findbugs</groupId >
133
+ <artifactId >jsr305</artifactId >
134
+ <version >3.0.2</version >
135
+ <optional >true</optional >
136
+ </dependency >
137
+
131
138
<!-- CDI -->
132
139
133
140
<dependency >
Original file line number Diff line number Diff line change 32
32
import org .springframework .data .convert .CustomConversions ;
33
33
import org .springframework .data .mapping .MappingException ;
34
34
import org .springframework .data .mapping .context .MappingContext ;
35
+ import org .springframework .lang .NonNull ;
35
36
import org .springframework .lang .Nullable ;
36
37
import org .springframework .util .Assert ;
37
38
@@ -378,7 +379,7 @@ public UdtValue newValue() {
378
379
}
379
380
380
381
@ Override
381
- public UdtValue newValue (@ edu . umd . cs . findbugs . annotations . NonNull Object ... fields ) {
382
+ public UdtValue newValue (@ NonNull Object ... fields ) {
382
383
throw new UnsupportedOperationException (
383
384
"This implementation should only be used internally, this is likely a driver bug" );
384
385
}
@@ -396,7 +397,7 @@ public boolean isDetached() {
396
397
}
397
398
398
399
@ Override
399
- public void attach (@ edu . umd . cs . findbugs . annotations . NonNull AttachmentPoint attachmentPoint ) {
400
+ public void attach (@ NonNull AttachmentPoint attachmentPoint ) {
400
401
throw new UnsupportedOperationException (
401
402
"This implementation should only be used internally, this is likely a driver bug" );
402
403
}
Original file line number Diff line number Diff line change 4
4
*** xref:migration-guide/migration-guide-1.5-to-2.0.adoc[]
5
5
*** xref:migration-guide/migration-guide-2.2-to-3.0.adoc[]
6
6
*** xref:migration-guide/migration-guide-3.0-to-4.0.adoc[]
7
+ *** xref:migration-guide/migration-guide-4.0-to-4.3.adoc[]
7
8
8
9
* xref:cassandra.adoc[]
9
10
** xref:cassandra/getting-started.adoc[]
Original file line number Diff line number Diff line change
1
+ [[cassandra.migration.4.x-to-4.3]]
2
+ = Migration Guide from 4.x to 4.3
3
+
4
+ Spring Data for Apache Cassandra 4.3 has migrated the `com.datastax.oss` groupId to `org.apache.cassandra`.
5
+
6
+ [[driver-group-id]]
7
+ == Migration of the Datastax driver into Apache
8
+
9
+ 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:
10
+
11
+ .`pom.xml` Example up to 4.2.x
12
+ ====
13
+ [source,xml]
14
+ ----
15
+ <dependency>
16
+ <groupId>com.datastax.oss</groupId>
17
+ <artifactId>java-driver-core</artifactId>
18
+ </dependency>
19
+
20
+ <dependency>
21
+ <groupId>com.datastax.oss</groupId>
22
+ <artifactId>java-driver-query-builder</artifactId>
23
+ </dependency>
24
+ ----
25
+ ====
26
+
27
+ With upgrading the groupId from `com.datastax.oss` to `org.apache.cassandra` your project configuration would look like:
28
+
29
+ .`pom.xml` Example since to 4.3.x
30
+ ====
31
+ [source,xml]
32
+ ----
33
+ <dependency>
34
+ <groupId>org.apache.cassandra</groupId>
35
+ <artifactId>java-driver-core</artifactId>
36
+ </dependency>
37
+
38
+ <dependency>
39
+ <groupId>org.apache.cassandra</groupId>
40
+ <artifactId>java-driver-query-builder</artifactId>
41
+ </dependency>
42
+ ----
43
+ ====
You can’t perform that action at this time.
0 commit comments