Commit Graph

1438 Commits

Author SHA1 Message Date
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
Mark Paluch
fad6782582 DATACASS-801 - Updated changelog. 2020-10-28 12:15:03 +01:00
Mark Paluch
4360da2f22 DATACASS-815 - Updated changelog. 2020-10-28 11:32:27 +01:00
Mark Paluch
73ffe7d911 DATACASS-816 - Polishing.
Original pull request: #176.
2020-10-23 15:28:54 +02:00
Jay Bryant
0b1fcb6495 DATACASS-816 - Wording changes.
Removed the language of oppression and violence
and replaced it with more neutral language.

Note that problematic words in the code have
to remain in the docs until the code changes.

Original pull request: #176.
2020-10-23 15:28:54 +02:00
Mark Paluch
857bde1311 DATACASS-814 - Polishing.
Fix typo in docs. Convert space indents to tabs.

Original pull request: #180.
2020-10-23 15:20:02 +02:00
Aldo Bongio
3b058156d4 DATACASS-814 - Use CQL in MapPreparedStatementCache.CacheKey instead representation of Object.toString().
We now correctly use the CQL text to cache prepared statements. Previously, we used toString() which was a leftover from the driver migration that now defaults to Object.toString() and so the cache key was not stable.

Original pull request: #180.
2020-10-23 15:20:02 +02:00
Christoph Strobl
fe2b56f9ec DATACASS-803 - After release cleanups. 2020-10-14 14:48:47 +02:00
Christoph Strobl
843b148b37 DATACASS-803 - Prepare next development iteration. 2020-10-14 14:48:45 +02:00
Christoph Strobl
ffd532670c DATACASS-803 - Release version 3.1 RC2 (2020.0.0). 2020-10-14 14:28:55 +02:00
Christoph Strobl
7a6aefd9ac DATACASS-803 - Prepare 3.1 RC2 (2020.0.0). 2020-10-14 14:27:38 +02:00
Christoph Strobl
c8c3bb64d0 DATACASS-803 - Updated changelog. 2020-10-14 14:27:33 +02:00
Mark Paluch
392cf775e3 DATACASS-810 - Add DataClassRowMapper.
DataClassRowMapper can map Cassandra results onto a class following the data class pattern (using constructor properties) or by setting bean properties.

data class Person(val firstname: String, val age: Int)

cqlTemplate.query("SELECT * FROM person", DataClassRowMapper<Person>())
2020-10-01 12:10:19 +02:00
Mark Paluch
9728df0c3c DATACASS-809 - Polishing.
Remove leading space in test strings to simplify assertions.
2020-10-01 10:50:07 +02:00
Mark Paluch
d6a32814ca DATACASS-809 - Add queryForStream methods to CqlOperations.
CqlOperations now exposes queryForStream methods to consume a query as java.util.stream.Stream accepting a RowMapper.
2020-10-01 10:48:06 +02:00