Commit Graph

1487 Commits

Author SHA1 Message Date
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
Mark Paluch
255c400131 Polishing.
Move off deprecated StringUtils.isEmpty.

See #1098
2021-03-12 09:15:15 +01:00
Mark Paluch
4976751924 Correctly resolve user type from CassandraType(userTypeName) for Maps.
We now correctly resolve user types for type arguments configured to UDT. These can either apply to keys or values depending on the typeArguments.

Closes #1098
2021-03-12 09:15:12 +01:00
Mark Paluch
addeead13b Remove @Persistent from entity-scan include filters.
We now only scan for entities annotated with `@Table` and `@PrimaryKeyClass` to avoid inclusion of non-Cassandra entities. Previously, types annotated (or meta-annotated) with `@Persistent` were included as Cassandra entity which could lead to mapping rule violations.

Closes #1100
2021-03-11 15:03:44 +01:00
Mark Paluch
c17425862c Introduce ConverterContext and clean up MappingCassandraConverter.
Extract source-type decision into ConverterContext and reuse the context from row and other reading methods. Align method signatures and make conversion methods customizable by making these protected.

Closes #1097
2021-03-05 12:01:49 +01:00
Mark Paluch
bb2e02aa77 Document Datastax driver version support.
Closes #1096.
2021-03-01 10:16:57 +01:00
Christoph Strobl
35972c2fbc After release cleanups.
See #1093
2021-02-18 11:35:22 +01:00
Christoph Strobl
ce34ddedc2 Prepare next development iteration.
See #1093
2021-02-18 11:35:20 +01:00
Christoph Strobl
0442bc1082 Release version 3.2 M4 (2021.0.0).
See #1093
2021-02-18 11:25:13 +01:00
Christoph Strobl
eafb7bf96e Prepare 3.2 M4 (2021.0.0).
See #1093
2021-02-18 11:24:46 +01:00
Christoph Strobl
66a2db6da7 Updated changelog.
See #1093
2021-02-18 11:24:41 +01:00
Christoph Strobl
756080c826 Updated changelog.
See #1091
2021-02-18 11:18:24 +01:00
Christoph Strobl
b422ffe8e8 After release cleanups.
See #1081
2021-02-17 14:17:49 +01:00
Christoph Strobl
2e13f1f0f9 Prepare next development iteration.
See #1081
2021-02-17 14:17:47 +01:00
Christoph Strobl
fb5bda2550 Release version 3.2 M3 (2021.0.0).
See #1081
2021-02-17 14:00:09 +01:00
Christoph Strobl
27661b863b Prepare 3.2 M3 (2021.0.0).
See #1081
2021-02-17 13:59:43 +01:00
Christoph Strobl
fa65ee0cf0 Updated changelog.
See #1081
2021-02-17 13:59:27 +01:00
Christoph Strobl
a3e3705703 Updated changelog.
See #1080
2021-02-17 13:49:14 +01:00
Christoph Strobl
05c66e459f Updated changelog.
See #1004
2021-02-17 11:34:20 +01:00
Christoph Strobl
ed470c270e Updated changelog.
See #1003
2021-02-17 10:58:19 +01:00
Mark Paluch
a297a7b814 Include Bintray plugin repository.
Closes #1087.
2021-02-17 09:25:54 +01:00
Mark Paluch
fd65dcf0e6 Polishing.
Remove unused import.

See #1086.
2021-02-15 09:46:18 +01:00
Mark Paluch
ca28698736 Upgrade to Cassandra driver 4.10.0.
Closes #1086
2021-02-15 09:45:57 +01:00
Mark Paluch
e2aef3bc1a Allow multi-value collection removal and map entry removal by key.
We now accept multiple values when removing items from a collection. Additionally, we support now removal by key/keys for map columns.

Resolves #1007.
2021-01-29 15:08:21 +01:00
Mark Paluch
eb3f3360d8 Polishing.
Replace stream() usage with for-loops where possible to reduce GC overhead.

See #1008.
2021-01-29 11:47:44 +01:00
Mark Paluch
8cc4075361 Fix ordering of sort-by properties.
We now apply sort-by properties individually on the built statement instead of collecting these into a Map first.

Resolves #1008
2021-01-29 11:32:00 +01:00
Mark Paluch
c98de7557a Polishing.
See #1082.
2021-01-29 11:17:22 +01:00
Mark Paluch
72129e7763 Cache common PersistentProperty attributes.
We now use CachingCassandraPersistentProperty to pre-compute primary key and embedded flags to reduce computation load when using these properties.

Resolves #1082
2021-01-29 11:17:21 +01:00
Mark Paluch
0f99b8f425 Polishing.
Replace duplicated code with method calls.

Closes: #1084
Original pull request: #1085
Related ticket: DATACASS-465
2021-01-29 09:46:16 +01:00
Matthieu Boutier
9b08a58748 Prevent NullPointerException when User Defined Type is not found.
Closes: #1084
Original pull request: #1085
Related ticket: DATACASS-465
2021-01-29 09:45:18 +01:00
Mark Paluch
2dcd2d7d64 Filter spring-issuemaster comments from feedback provided reassignment.
See #182
2021-01-20 14:50:16 +01:00
Mark Paluch
57227a79ff Filter spring-issuemaster comments from feedback provided reassignment.
See #182
2021-01-14 11:05:48 +01:00
Christoph Strobl
2af3f5f871 After release cleanups.
See #1005
2021-01-13 15:47:00 +01:00
Christoph Strobl
0de29c8560 Prepare next development iteration.
See #1005
2021-01-13 15:46:58 +01:00