Commit Graph

1864 Commits

Author SHA1 Message Date
Mark Paluch
55286db588 Upgrade to Maven Wrapper 3.9.8.
See #1512
2024-08-08 10:22:03 +02:00
Mark Paluch
f9d4fa5866 Update CI properties.
See #1493
2024-08-08 10:20:10 +02:00
Mark Paluch
1b01a8f346 Polishing.
Remove inconsistent blank lines.

See #1508
2024-08-05 10:58:11 +02:00
Eric Haag
bf53c0b185 Migrate build to Spring Develocity Conventions extension.
* Migrate build to Spring Develocity Conventions extension.

* Adopt Develocity environment variables.

Closes #1508
2024-08-05 10:54:42 +02:00
Mark Paluch
f03e0b6031 Bundle Javadoc with Antora documentation site.
Closes #1507
2024-07-31 09:54:29 +02:00
Mark Paluch
41805cc300 Refine API to create and render CQL object specifications.
We now expose specification entrypoints at SpecificationBuilder and a generic generator at CqlGenerator.toCql(…).

Closes #1506
2024-07-25 16:22:50 +02:00
Mark Paluch
e154ef6c40 Allow keyspace customization for Cassandra tables and UDTs.
We now allow setting the keyspace on `@Table` and `@UserDefinedType` to interact with tables and types residing in a specific keyspace.

@Table(keyspace = "some_ks")
class Person {
 …
}

Keyspace values can be either string literals or value expressions (#{…}, ${…}) to use the context or config properties to compute the actual keyspace.

Special honors go to @tomekl007 and @mipo256 for their contributions.

See #1400
See #279

Closes #921
2024-07-25 15:05:05 +02:00
Mark Paluch
08165769a9 Polishing.
See #1503
2024-07-24 15:33:25 +02:00
Mark Paluch
0cd9b43620 Introduce KeyspaceProvider to StatementFactory.
StatementFactory now accepts a KeyspaceProvider to determine a specific Keyspace for a built statement.

StatementFactory can be obtained through CassandraTemplate and its async/reactive variants.

Closes #1275
2024-07-24 15:27:52 +02:00
Mark Paluch
24e1564f4f Refine Testcontainer setup for Cassandra 5 startup.
The container version is picked up from the env-variable first and then from our project properties.

Adding config file for v5.

See #1503
2024-07-24 14:43:55 +02:00
Mark Paluch
b02492f873 Polishing.
Refine assertions of unwanted objects.

See #1499
2024-07-24 14:10:17 +02:00
Mark Paluch
1a72451c34 Accept BatchableStatement in CassandraBatchOperations.
Closes #1499
2024-07-24 14:07:22 +02:00
Mark Paluch
31439700a2 Remove Slack notification.
See #1498
2024-06-20 13:50:11 +02:00
Mark Paluch
80d04498fa Switch to Broadcom docker proxy.
Closes #1498
2024-06-20 13:49:57 +02:00
Mark Paluch
acbdd871ba Polishing.
Delegate calls from deprecated methods to their replacement methods. Simplify tests.

See #1494
Original pull request: #1495
2024-06-12 14:40:41 +02:00
seungh0
74189c78cb Allow QueryOptions to disable timeout.
If it is zero, the read timeout will be disabled for this statement.

Closes #1494
Original pull request: #1495
2024-06-12 14:40:31 +02:00
Mark Paluch
100b267bf0 After release cleanups.
See #1489
2024-05-17 11:51:34 +02:00
Mark Paluch
f6765c23f8 Prepare next development iteration.
See #1489
2024-05-17 11:51:32 +02:00
Mark Paluch
9d3e6ccc99 Release version 4.3 GA (2024.0.0).
See #1489
2024-05-17 11:49:25 +02:00
Mark Paluch
563aaf7565 Prepare 4.3 GA (2024.0.0).
See #1489
2024-05-17 11:49:10 +02:00
Mark Paluch
5923cbebbc After release cleanups.
See #1484
2024-04-12 10:52:59 +02:00
Mark Paluch
8122477d6d Prepare next development iteration.
See #1484
2024-04-12 10:52:58 +02:00
Mark Paluch
2a128f5768 Release version 4.3 RC1 (2024.0.0).
See #1484
2024-04-12 10:50:41 +02:00
Mark Paluch
6f4fee859d Prepare 4.3 RC1 (2024.0.0).
See #1484
2024-04-12 10:50:27 +02:00
Mark Paluch
2c6b029a6d Polishing.
Reformat code. Lazily obtain the keyspace name from CqlSession in SimpleUserTypeResolver.

See #380
Original pull request: #1485
2024-03-18 14:42:45 +01:00
Christoph Strobl
f31c877fdb Allow lenient infrastructure startup.
By avoiding interaction with a potential lazy proxy for a given CqlSession until it becomes mandatory we allow users to leverage lazy bean intialization for CqlSession during application startup.
To fully enable this changes we need changes in the boot autoconfigration.

Closes #380
Original pull request: #1485
2024-03-18 14:42:45 +01:00
Mark Paluch
95f7080eff After release cleanups.
See #1480
2024-03-15 11:09:58 +01:00
Mark Paluch
80b1258887 Prepare next development iteration.
See #1480
2024-03-15 11:09:57 +01:00
Mark Paluch
fd21aa06ed Release version 4.3 M2 (2024.0.0).
See #1480
2024-03-15 11:07:31 +01:00
Mark Paluch
c02dc58297 Prepare 4.3 M2 (2024.0.0).
See #1480
2024-03-15 11:07:09 +01:00
Christoph Strobl
8f2ed0c9d3 After release cleanups.
See #1453
2024-02-16 14:41:25 +01:00
Christoph Strobl
8d43b06b65 Prepare next development iteration.
See #1453
2024-02-16 14:41:23 +01:00
Christoph Strobl
b26379fb95 Release version 4.3 M1 (2024.0.0).
See #1453
2024-02-16 14:37:38 +01:00
Christoph Strobl
05b0d3e70f Prepare 4.3 M1 (2024.0.0).
See #1453
2024-02-16 14:37:00 +01:00
Mark Paluch
5279c5fae2 Add support for ValueExpression.
Closes #1477
2024-02-12 15:49:15 +01:00
Mark Paluch
d01caa4795 Refactor @PrimaryKey and @PrimaryKeyColumn to be aliases for @Column.
Both annotations are now aliases for `@Column`.

Closes #1476
2024-02-08 09:31:20 +01:00
Mark Paluch
04e83612f4 Refine documentation.
Remove links to absent headers. Merge introduction to Cassandra section page.

Closes #1475
2024-02-07 09:29:09 +01:00
Eric Haag
60a7079444 Update Revved up by Develocity badge.
Closes #1470
2024-02-07 09:27:00 +01:00
Mark Paluch
22c236ca99 Inspect collection elements during write value conversion.
We now deeply introspect collection and map elements when obtaining write values to ensure proper UDT and tuple conversions.

Previously, collections containing UDT values did a pass-thru of values instead of applying UDT mapping.

Closes #1473
2024-02-06 14:53:34 +01:00
Mark Paluch
b436f92aaf Refine Artifactory build name.
See #1453
2024-01-31 15:08:49 +01:00
Mark Paluch
de69842956 Read DTO projection properties only once.
We ensure to not read DTO properties multiple times if these are already read by their persistence creator.

Closes #1472
2024-01-29 09:26:38 +01:00
Mark Paluch
e68a0472c7 Introduce caching and equality checks to derived persistent entities and properties.
We now provide equals/hashCode and selective caching for derived properties and entities derived from embedded properties and constructor-annotated properties to avoid memory leaks using properties and entities as cache keys.

Closes #1471
2024-01-24 14:00:45 +01:00
Mark Paluch
45cb35b4d2 Migrate to Cassandra driver at org.apache.cassandra.
Closes #1467
2024-01-11 08:44:00 +01:00
Mark Paluch
9b930ed4ff Extend license header copyright years to 2024.
See #1465
2024-01-02 14:41:39 +01:00
Mark Paluch
275b037370 Update CI properties.
See #1453
2023-12-14 08:50:31 +01:00
Mark Paluch
dcc8478a2a Upgrade to Maven Wrapper 3.9.6.
See #1459
2023-12-14 08:40:40 +01:00
Mark Paluch
f9f1d2e375 Adopt CassandraParameters and CassandraParameter to reflect the actual parameter type when using generics.
Closes #1456
2023-12-08 11:33:56 +01:00
Mark Paluch
8338715019 Introduce property for Jenkins user and Artifactory server details.
Closes #1455
2023-11-27 09:39:54 +01:00
Runbing
95a76826e7 Fixed the URL for the Spring Data Commons documentation.
I fixed an incorrect URL in the **antora.yml** file that was preventing other pages from linking to the Spring Data Commons documentation.

Closes #1454
2023-11-20 11:24:13 +01:00
Mark Paluch
b6043dfabd After release cleanups.
See #1443
2023-11-17 14:33:26 +01:00