Commit Graph

1520 Commits

Author SHA1 Message Date
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
Greg L. Turnquist
a46b00c4c7 Update CI to JDK 16.
See #1105.
2021-05-13 16:09:16 -05:00
Mark Paluch
e8ad9bf36b Consider full type descriptors in DataClassRowMapper.
Closes #1129
2021-05-12 11:22:00 +02:00
Mark Paluch
1f3095e635 Upgrade to Cassandra driver 4.11.1.
Closes #1127
2021-05-07 08:37:19 +02:00
Mark Paluch
a60b2c48cf PrimaryKeyClass can now subclass other types than Object.
We dropped the requirement that composite keys may only subclass Object to allow usage with other superclasses such as Java records.

Closes #1126
2021-05-06 09:11:38 +02:00
Greg L. Turnquist
25e5970bf5 Authenticate with artifactory.
See #1112.
2021-04-20 08:35:43 -05:00
Greg L. Turnquist
0847d5a89d Migrate to main branch.
See #1112.
2021-04-15 12:43:54 -05:00
Mark Paluch
67ada88b4c After release cleanups.
See #1112
2021-04-14 14:30:14 +02:00
Mark Paluch
200d8bd4b7 Prepare next development iteration.
See #1112
2021-04-14 14:30:11 +02:00
Mark Paluch
1d9caaed45 Release version 3.2 GA (2021.0.0).
See #1112
2021-04-14 14:18:47 +02:00
Mark Paluch
111a7b7f85 Prepare 3.2 GA (2021.0.0).
See #1112
2021-04-14 14:18:21 +02:00
Mark Paluch
546a2f2d1b Updated changelog.
See #1112
2021-04-14 14:18:12 +02:00
Mark Paluch
af31d8cd1e Updated changelog.
See #1113
2021-04-14 11:43:30 +02:00
Mark Paluch
f375f3b1fe Updated changelog.
See #1102
2021-04-14 11:17:39 +02:00
John Blum
8fb8041445 Refactor test framework infrastructure classes.
Resolves gh-1115.
2021-04-09 16:01:20 -07:00
Mark Paluch
4492e1a06a Polishing.
Add author tags. Reformat code. Add overrides for methods that were introduced in the meantime.

See #978.
Original pull request: #1108.
2021-04-07 13:55:26 +02:00
Aleksei Zotov
da9fc8f55a Added schema generation support for static columns.
Closes #978
Original pull request: #1108.
2021-04-07 13:55:26 +02:00
Mark Paluch
e4735b7b56 Updated changelog.
See #1103
2021-03-31 18:30:43 +02:00
Mark Paluch
b60f274e15 After release cleanups.
See #1092
2021-03-31 17:24:05 +02:00
Mark Paluch
ad509e1665 Prepare next development iteration.
See #1092
2021-03-31 17:24:03 +02:00
Mark Paluch
3fb0beebff Release version 3.2 RC1 (2021.0.0).
See #1092
2021-03-31 17:05:07 +02:00
Mark Paluch
0ddd7b53fc Prepare 3.2 RC1 (2021.0.0).
See #1092
2021-03-31 17:04:34 +02:00
Mark Paluch
b93c0677eb Updated changelog.
See #1092
2021-03-31 17:04:28 +02:00
Mark Paluch
f75d692221 Consider @Column and @Element annotated constructor parameters.
We now allow using Column and Element annotations for constructor arguments when using constructor creation from columns/UDT fields respective tuple value elements. The column name/element ordinal can be overwritten for persistent properties. Non-persistent properties can be easier obtained than through the Value("…") annotation that uses SpEL.

Closes #1104.
2021-03-30 14:15:13 +02:00
Mark Paluch
024214fbac Use SAM constructors for Kotlin extensions.
Closes #1111.
2021-03-29 15:45:59 +02:00
Mark Paluch
30775b0b6a Switch to Driver BOM.
Closes #1110
2021-03-29 14:34:37 +02:00
Mark Paluch
692b51bd6d Upgrade to Datastax driver 4.11.0.
Closes #1109.
2021-03-29 14:30:53 +02:00
Mark Paluch
bf1137b99b Polishing.
Align handle methods exiting avoiding a flatMap stage.

See #1107
2021-03-22 11:39:32 +01:00
Mark Paluch
8eac3fed03 Fix SingleEntityExecution when a single element is emitted.
We now correctly exit the handler to avoid element emission followed by an error signal.

Closes #1107
2021-03-22 11:38:41 +01:00
Mark Paluch
f684eaac7a Update version number suffixes in readme to reflect the used versioning scheme.
Closes #1106.
2021-03-22 10:32:52 +01:00
Mark Paluch
2aff139bf8 After release cleanups.
See #1101
2021-03-17 11:30:30 +01:00
Mark Paluch
78191ca51f Prepare next development iteration.
See #1101
2021-03-17 11:30:28 +01:00
Mark Paluch
b3b0c652ad Release version 3.2 M5 (2021.0.0).
See #1101
2021-03-17 11:17:49 +01:00
Mark Paluch
dc89c6f2c9 Prepare 3.2 M5 (2021.0.0).
See #1101
2021-03-17 11:17:26 +01:00
Mark Paluch
7dde6ac191 Updated changelog.
See #1101
2021-03-17 11:17:18 +01:00
Mark Paluch
bc67d2eed1 Updated changelog.
See #1094
2021-03-17 11:03:38 +01:00
Mark Paluch
43b1be88c5 Updated changelog.
See #1089
2021-03-17 10:35:11 +01:00