Commit Graph

1556 Commits

Author SHA1 Message Date
Mark Paluch
d9ddf0de16 Polishing.
Consistently use toCql(…) and String.format for CQL retrieval.

See #1186
2021-10-25 09:10:02 +02:00
Mark Paluch
99ad37985a Use string concatenation in QueryExtractorDelegate instead of String.format(…).
We now use string concatenation during query extraction to avoid String.format(…) overhead for unknown queries.

Closes #1186
2021-10-25 09:08:52 +02:00
Mark Paluch
538954e2c9 After release cleanups.
See #1168
2021-10-18 13:55:41 +02:00
Mark Paluch
9a05d8a2e8 Prepare next development iteration.
See #1168
2021-10-18 13:55:38 +02:00
Mark Paluch
99f419828d Release version 3.3 RC1 (2021.1.0).
See #1168
2021-10-18 13:48:13 +02:00
Mark Paluch
43a16901b3 Prepare 3.3 RC1 (2021.1.0).
See #1168
2021-10-18 13:47:45 +02:00
Mark Paluch
6788a11008 Consider custom converters in ConversionContext before applying collection converters.
We now inspect whether custom conversions should be applied before reading a value into a Map or Collection to consider converters for Map-like and Collection-like types.

Closes #1181
2021-10-18 09:16:01 +02:00
Mark Paluch
be9cfc7d1e Polishing.
Introduce TermFactory.canBindCollection() to avoid unecessary parameter encoding.

See #1172
Original pull request: #1178.
2021-10-13 15:28:26 +02:00
samueldlightfoot
813de10bb4 Use bind markers for BY_INDEX and BY_NAME IN queries.
Closes #1172
Original pull request: #1178.
2021-10-13 15:27:59 +02:00
Mark Paluch
3878c00f8c Upgrade to Maven Wrapper 3.8.3.
See #1177
2021-10-11 14:30:23 +02:00
Mark Paluch
5718ec3c0b Polishing.
Remove constructors defaulting to BatchType.LOGGED and turn batchOps() into default methods to avoid defaulting sprawl.

Update since tags.

See #1174
Original pull request: #1175.
2021-10-01 11:00:17 +02:00
samueldlightfoot
99f3bcc49d Support configurable batch types for batch operations.
Closes #1174
Original pull request: #1175.
2021-10-01 10:59:25 +02:00
Mark Paluch
e9cc255496 Polishing.
Add closing tag.

See #1169
2021-09-30 11:34:58 +02:00
Mark Paluch
d6dc3a0109 Fix malformed Javadoc.
See #1171
2021-09-21 19:55:43 +02:00
Mark Paluch
05cb9979df Polishing.
Use HTTPS URL's for apt download.

See #1171
2021-09-21 19:17:40 +02:00
Mark Paluch
cb80b7db29 Add Java 17 to CI pipeline.
Also, refine CI triggers.

Closes #1171
2021-09-21 16:21:50 +02:00
Mark Paluch
11c6dba2bd After release cleanups.
See #1158
2021-09-17 09:52:21 +02:00
Mark Paluch
1043eac8c2 Prepare next development iteration.
See #1158
2021-09-17 09:52:18 +02:00
Mark Paluch
1c324350c2 Release version 3.3 M3 (2021.1.0).
See #1158
2021-09-17 09:44:56 +02:00
Mark Paluch
89b352351e Prepare 3.3 M3 (2021.1.0).
See #1158
2021-09-17 09:44:34 +02:00
Christoph Strobl
3c5b3bb434 Change visibility of FactoryBeans.
Closes: #1165
2021-09-15 15:57:17 +02:00
Mark Paluch
7a185ef885 Limit exception mapper to driver exceptions.
We now only map DriverException's and such that are in the com.datastax.oss package to avoid a catch-all to CassandraUncategorizedException.

Closes: #1155
2021-09-14 10:38:38 +02:00
Mark Paluch
176440f0e8 Upgrade to Maven Wrapper 3.8.2.
See #1163
2021-09-10 15:37:57 +02:00
Mark Paluch
6002e59929 Upgrade to Cassandra Driver 4.13.0.
Closes #1162
2021-09-10 09:36:17 +02:00
Jens Schauder
8cc885284a After release cleanups.
See #1152
2021-08-12 15:16:23 +02:00
Jens Schauder
b5ee29adfb Prepare next development iteration.
See #1152
2021-08-12 15:16:21 +02:00
Jens Schauder
f2b483d448 Release version 3.3 M2 (2021.1.0).
See #1152
2021-08-12 15:03:17 +02:00
Jens Schauder
b1ab5cc768 Prepare 3.3 M2 (2021.1.0).
See #1152
2021-08-12 15:02:55 +02:00
Mark Paluch
74fe0924f3 Properly consider frozen map creation.
We now correctly consider the Frozen annotation when annotating a property to define a frozen<map<…>> type. Previously we only considered frozen key and value components instead of the entire type.

Closes #1148
2021-07-26 11:23:57 +02:00
Mark Paluch
686fd64c8b Remove changelog shipped with the binaries.
Closes #1153
2021-07-26 11:02:44 +02:00
Jens Schauder
ea9fde198c After release cleanups.
See #1120
2021-07-16 14:19:57 +02:00
Jens Schauder
10f0562b0a Prepare next development iteration.
See #1120
2021-07-16 14:19:55 +02:00
Jens Schauder
f4031894bb Release version 3.3 M1 (2021.1.0).
See #1120
2021-07-16 14:09:25 +02:00
Jens Schauder
9b48e9f205 Prepare 3.3 M1 (2021.1.0).
See #1120
2021-07-16 14:08:58 +02:00
Jens Schauder
7bc72ac92b Updated changelog.
See #1120
2021-07-16 14:08:32 +02:00
Jens Schauder
1e91273f63 Updated changelog.
See #1144
2021-07-16 10:48:16 +02:00
Mark Paluch
02c061a35e Adapt to newly introduced methods in PersistentProperty.
Implement getPersistentEntityTypeInformation() and getAssociationTargetTypeInformation() methods.

Closes #1149
2021-07-13 08:14:21 +02:00
Mark Paluch
4409fbc11d Updated changelog.
See #1131
2021-06-22 16:07:24 +02:00
Mark Paluch
7ac494e848 Updated changelog.
See #1130
2021-06-22 15:29:50 +02:00
Mark Paluch
3d0ddf644f Add overloads to CassandraBatchOperations.insert(…)/update(…), and delete(…) accepting WriteOptions.
CassandraBatchOperations and its reactive variant provide now overloads accepting a single entity and WriteOptions. We also guard methods accepting varargs against being called with an accidental WriteOptions argument by inspecting the array of objects.

Closes #1135
2021-06-21 15:54:35 +02:00
Mark Paluch
d360a29751 Upgrade to Cassandra Driver 4.12.0.
Closes #1142
2021-06-21 10:12:27 +02:00
Mark Paluch
78e0d04dd4 Remove flakey integration tests.
See #1139.
2021-06-10 14:35:36 +02:00
Mark Paluch
7e60db71db Avoid conversion for Range objects used in query methods.
We should not inspect Range for conversion as this leads to entity creation.

Closes #1140.
2021-06-10 09:47:56 +02:00
Mark Paluch
f7ea4832f9 Disable tests on newer Java versions due to non-deterministic timeouts.
See #1139.
2021-06-09 15:59:56 +02:00
Mark Paluch
c2c1247e4d Correctly write Where for entities using composite primary key classes with user-defined types.
We now correctly write properties from composite primary keys to the Where condition object. Previously, the object write used writeWhereFromObject(…) that isn't converter/UDT/tuple-type-aware.

Closes #1137.
2021-06-07 14:38:15 +02:00
Mark Paluch
3c812865d1 Upgrade to Apache Cassandra 3.11.10.
Closes #1134
2021-05-19 15:55:27 +02:00
Mark Paluch
510054c175 Improve CassandraTemplate creation from Session.
CassandraTemplate and its reactive and asynchronous variants created with a bare Session now picks up UserTypeResolver and CodecRegistry configured at the Session level.

ReactiveSession now also exposes the logged keyspace and metadata.

Closes #1133
2021-05-19 15:20:21 +02:00
Mark Paluch
6f9475a7e5 Document entity state detection strategies.
Closes #1124
2021-05-17 14:00:05 +02:00
Mark Paluch
5b689da34d Updated changelog.
See #1118
2021-05-14 12:36:34 +02:00
Mark Paluch
346fd69a4a Updated changelog.
See #1117
2021-05-14 12:06:37 +02:00