Commit Graph

1452 Commits

Author SHA1 Message Date
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
Christoph Strobl
c145e39118 Release version 3.2 M2 (2021.0.0).
See #1005
2021-01-13 15:34:04 +01:00
Christoph Strobl
30e4f0635c Prepare 3.2 M2 (2021.0.0).
See #1005
2021-01-13 15:33:34 +01:00
Christoph Strobl
fd243ecda3 Updated changelog.
See #1005
2021-01-13 15:33:22 +01:00
Christoph Strobl
bd6fb9ce50 Updated changelog.
See #1006
2021-01-13 15:16:18 +01:00
Frank Spitulski
6eef4441d0 Defer non-constant assert messages to improve performance.
Original pull request: #1079.
2021-01-13 08:46:09 +01:00
Mark Paluch
d68184113c Update copyright year to 2021.
Closes #1078
2021-01-07 11:54:08 +01:00
Mark Paluch
4b07df32b6 #182 - Update repository after GitHub issues migration. 2020-12-31 13:24:22 +01:00
Greg L. Turnquist
b4c48aa3a7 DATACASS-835 - Polishing. 2020-12-14 14:49:41 -06:00
Greg L. Turnquist
d73fa53240 DATACASS-835 - Use Docker hub credentials for all CI jobs. 2020-12-14 14:46:00 -06:00
Mark Paluch
68128b04f8 DATACASS-824 - Updated changelog. 2020-12-09 16:47:38 +01:00
Mark Paluch
410a79608b DATACASS-820 - After release cleanups. 2020-12-09 15:32:19 +01:00
Mark Paluch
fb4f96693c DATACASS-820 - Prepare next development iteration. 2020-12-09 15:32:15 +01:00
Mark Paluch
4ad59eaf3d DATACASS-820 - Release version 3.2 M1 (2021.0.0). 2020-12-09 15:21:55 +01:00
Mark Paluch
57d2a863ef DATACASS-820 - Prepare 3.2 M1 (2021.0.0). 2020-12-09 15:21:28 +01:00
Mark Paluch
45dc18faaa DATACASS-820 - Updated changelog. 2020-12-09 15:21:25 +01:00
Mark Paluch
3718bb2991 DATACASS-818 - Updated changelog. 2020-12-09 12:42:22 +01:00
Mark Paluch
eec18a71ff DATACASS-817 - Updated changelog. 2020-12-09 09:59:07 +01:00
Mark Paluch
5d2c0bfd74 DATACASS-804 - Update CI jobs for Java 15. 2020-12-07 14:55:37 +01:00
Mark Paluch
49f75ab268 DATACASS-834 - Default to datacenter1 in AbstractSessionConfiguration.getLocalDataCenter.
Align with Cassandra defaults when starting a new server. Also, improve Javadoc explaining when the localDataCenter setting is required.
2020-12-07 14:41:29 +01:00
Mark Paluch
8f3a262e54 DATACASS-833 - Deprecate cached PreparedStatementCreator support classes.
Since Cassandra driver version 4, the driver itself tracks prepared statements so external prepared statement caching is no longer required.
2020-12-07 14:36:02 +01:00
Mark Paluch
ed46d742eb DATACASS-510 - Introduce support for prepared statements using CassandraTemplate.
We now support prepared statement usage through CassandraTemplate and its asynchronous and reactive variants. All statements created or received by CassandraTemplate will be prepared. CassandraTemplate is an infrastructure class for repositories so prepared statements will affect repositories, too.
2020-12-07 14:34:24 +01:00
Mark Paluch
529e0692e6 DATACASS-832 - Use index-based parameter binding.
We now use positional parameters when building SimpleStatement through StatementBuilder by default to access the individual parameters later on for prepared statement usage.
2020-12-07 14:30:31 +01:00
Mark Paluch
8093392d60 DATACASS-829 - Consider contextual ColumnType when updating a column.
We now consider the contextual ColumnType that applies when using particular update operations within the context of a property reference. Query and Update objects reference properties in their criteria/assignments using operators that are related either to the entire property, the key-, value- or component-type aspect (querying whether map contains a key, updating a list at an index).

Previously, we considered the contextual column type only for criteria operators and updating a list with a mapped UDT failed as the column type of the property was used. By using a ColumnTypeTransformer abstraction we resolve the correct contextual column type so that subsequent mapping/conversion operations use the appropriate type hint.
2020-11-26 14:53:27 +01:00
Mark Paluch
e2f8bf2744 DATACASS-825 - Polishing.
Reoder methods. Remove unused code and imports.

Original pull request: #181.
2020-11-25 11:41:45 +01:00
Jens Schauder
418c743017 DATACASS-825 - Implements CrudRepository and ReactiveCrudRepository.deleteAllById(Iterable<ID> ids).
Original pull request: #181.
2020-11-25 09:42:05 +01:00
Mark Paluch
b8740711c5 DATACASS-798 - Introduce CassandraDriverOptionsConfigurer and allow specifying a configuration file.
We now allow configuring a DriverConfigLoaderBuilderConfigurer and specifying a driver configuration file through AbstractSessionConfiguration to improve configuration possibilities. The DriverConfigLoaderBuilderConfigurer gets applied after applying the configuration to DriverConfigLoaderBuilder. The driver config file acts as a fallback config if the configuration property cannot be looked up from system properties or from the configuration in DriverConfigLoaderBuilder.
2020-11-18 10:29:15 +01:00
Mark Paluch
2ecc51c2c4 DATACASS-828 - Resolve selection projection and ordering of composite key properties into multiple columns.
We now resolve property names pointing to a composite key property into its individual column names to be applies in a SELECT projection or for ordering.
2020-11-18 09:48:11 +01:00
Mark Paluch
5d0295c7a3 DATACASS-819 - Updated changelog. 2020-11-11 12:34:36 +01:00
Mark Paluch
4444cb5ffe DATACASS-821 - Enable Maven caching for Jenkins jobs. 2020-11-04 11:13:01 +01:00
Mark Paluch
7a7132a84a DATACASS-813 - After release cleanups. 2020-10-28 16:10:23 +01:00
Mark Paluch
31d8e825e1 DATACASS-813 - Prepare next development iteration. 2020-10-28 16:10:20 +01:00
Mark Paluch
a0b1e8e9d4 DATACASS-813 - Release version 3.1 GA (2020.0.0). 2020-10-28 15:46:54 +01:00
Mark Paluch
c50016a3cd DATACASS-813 - Prepare 3.1 GA (2020.0.0). 2020-10-28 15:46:31 +01:00
Mark Paluch
13eb27df1b DATACASS-813 - Updated changelog. 2020-10-28 15:46:12 +01:00
Mark Paluch
b05a42a34a DATACASS-802 - Updated changelog. 2020-10-28 15:03:01 +01:00