Skip to content

Commit 68cfb25

Browse files
committed
docs: update changelog
Signed-off-by: Otavio Santana <[email protected]>
1 parent ccc3a7e commit 68cfb25

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version
1818
- Update Testcontainer to 1.19.6
1919
- Upgrade Jakarta Data to version 1.0.0-M3
2020

21+
=== Removed
22+
23+
- Remove the `UDT` annotation and use `Column` annotation instead.
24+
2125
== [1.1.0] - 2023-02-05
2226

2327
=== Changed

README.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ interface PersonRepository extends CassandraRepository<Person, String> {
265265
----
266266

267267

268-
=== @UDT
268+
=== UDT at Column annotation
269269

270-
The ```@UDT``` annotation is a mapping annotation that allows defining a field to be stored as a user-defined type in Cassandra.
270+
The ```@Column``` contains a UDT attribute for mapping annotation that allows defining a field to be stored as a user-defined type in Cassandra.
271271

272272
[source,java]
273273
----
@@ -280,8 +280,7 @@ public class Person {
280280
@Column
281281
private Integer age;
282282
283-
@UDT("address")
284-
@Column
283+
@Column(udt="address")
285284
private Address home;
286285
}
287286
----

0 commit comments

Comments
 (0)