doc fix-ups

This commit is contained in:
Steve Ebersole 2022-03-09 13:45:11 -06:00
parent e16fbb6c31
commit 7a1d6f13dd
2 changed files with 2 additions and 1 deletions

View File

@ -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. 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. Due to this, storing the offset is only safe for past timestamps, and we advise sticking to the `NORMALIZE` strategy by default.
====
.`@TimeZoneColumn` usage .`@TimeZoneColumn` usage
==== ====

View File

@ -172,7 +172,7 @@ public class TimeZoneStorageMappingTests {
@Id @Id
private Integer id; private Integer id;
//end::time-zone-column-examples-mapping-example[] //tag::time-zone-column-examples-mapping-example[]
@TimeZoneStorage(TimeZoneStorageType.COLUMN) @TimeZoneStorage(TimeZoneStorageType.COLUMN)
@TimeZoneColumn(name = "birthday_offset_offset") @TimeZoneColumn(name = "birthday_offset_offset")
@Column(name = "birthday_offset") @Column(name = "birthday_offset")