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")