From 7a1d6f13dd3b37d2b45de3f50a3f3b8cc67289a7 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 9 Mar 2022 13:45:11 -0600 Subject: [PATCH] doc fix-ups --- .../main/asciidoc/userguide/chapters/domain/basic_types.adoc | 1 + .../userguide/mapping/basic/TimeZoneStorageMappingTests.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/src/main/asciidoc/userguide/chapters/domain/basic_types.adoc b/documentation/src/main/asciidoc/userguide/chapters/domain/basic_types.adoc index 3b9724c887..adeb4af978 100644 --- a/documentation/src/main/asciidoc/userguide/chapters/domain/basic_types.adoc +++ b/documentation/src/main/asciidoc/userguide/chapters/domain/basic_types.adoc @@ -1797,6 +1797,7 @@ the column details for the time zone information storage. ==== Storing the zone offset might be problematic for future timestamps as zone rules can change. Due to this, storing the offset is only safe for past timestamps, and we advise sticking to the `NORMALIZE` strategy by default. +==== .`@TimeZoneColumn` usage ==== diff --git a/documentation/src/test/java/org/hibernate/userguide/mapping/basic/TimeZoneStorageMappingTests.java b/documentation/src/test/java/org/hibernate/userguide/mapping/basic/TimeZoneStorageMappingTests.java index fd4503706d..e3160d70b6 100644 --- a/documentation/src/test/java/org/hibernate/userguide/mapping/basic/TimeZoneStorageMappingTests.java +++ b/documentation/src/test/java/org/hibernate/userguide/mapping/basic/TimeZoneStorageMappingTests.java @@ -172,7 +172,7 @@ public class TimeZoneStorageMappingTests { @Id private Integer id; - //end::time-zone-column-examples-mapping-example[] + //tag::time-zone-column-examples-mapping-example[] @TimeZoneStorage(TimeZoneStorageType.COLUMN) @TimeZoneColumn(name = "birthday_offset_offset") @Column(name = "birthday_offset")