DATACASS-767 - Polishing.

Reformat code. Add since tags. Extend keyspace association to PreparedStatements so that simple CQL statements get associated with the keyspace upon prepare. Remove check if a statement is a bound statement as prepared statements should not fail with applyStatementSettings(…).

Fix keyspace configuration in …Options objects as Insert/Update/Delete options should consider the keyspace when using the builder. Extend tests.

Simplify Cassandra version check. Ensure the discovery session gets closed after its use.

Original pull request: #177.
This commit is contained in:
Mark Paluch
2020-08-07 15:21:28 +02:00
parent b79f8a4caa
commit 2caee34d55
23 changed files with 388 additions and 264 deletions

View File

@@ -8,6 +8,7 @@ This chapter summarizes changes and new features for each release.
* <<cassandra.auditing,Reactive auditing>> enabled through `@EnableReactiveCassandraAuditing`. `@EnableCassandraAuditing` no longer registers `ReactiveAuditingEntityCallback`.
* Reactive SpEL support in `@Query` query methods.
* Configuration of the keyspace per `Statement` through `CqlTemplate` and `QueryOptions`.
[[new-features.3-0-0]]
== What's new in Spring Data for Apache Cassandra 3.0