From 7934da03fb693c095a52a99249ab0c65199e936e 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 ee7a63076..ec84e252e 100644 --- a/src/main/asciidoc/new-features.adoc +++ b/src/main/asciidoc/new-features.adoc @@ -43,6 +43,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 e34dc6262..d02ff4ea7 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<…>`