From 8d25a3ab1f0aba9294dd421b5672523d3a539820 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 27 Mar 2019 10:23:19 +0100 Subject: [PATCH] DATACASS-641 - Fix documentation for java.util.UUID type mapping. Since 2.0, java.util.UUID maps by default to uuid instead of timeuuid. Documentation now reflects this change. --- src/main/asciidoc/new-features.adoc | 1 + src/main/asciidoc/reference/mapping.adoc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/asciidoc/new-features.adoc b/src/main/asciidoc/new-features.adoc index bc0f464f0..f62e13ffc 100644 --- a/src/main/asciidoc/new-features.adoc +++ b/src/main/asciidoc/new-features.adoc @@ -34,6 +34,7 @@ to `org.springframework.data.cassandra`. * Introduced new annotation for `@AllowFiltering`. * Index creation on application startup via `@Indexed` and `@SASI`. * Tooling support for null-safety via Spring's `@NonNullApi` and `@Nullable` annotations. +* `java.util.UUID` properties default now to `uuid` column type, was previously `timeuuid`. [[new-features.1-5-0]] == What's new in Spring Data for Apache Cassandra 1.5 diff --git a/src/main/asciidoc/reference/mapping.adoc b/src/main/asciidoc/reference/mapping.adoc index 0111a3fc0..08447ffdd 100644 --- a/src/main/asciidoc/reference/mapping.adoc +++ b/src/main/asciidoc/reference/mapping.adoc @@ -73,7 +73,7 @@ for further details. The following table maps Spring Data types to Cassandra typ | `blob` | `java.util.UUID` -| `timeuuid` +| `uuid` | `TupleValue`, mapped Tuple Types | `tuple<…>`