fix code example in TimeZoneStorage

This commit is contained in:
Gavin 2022-12-26 20:02:09 +01:00
parent b293a6b2ac
commit 939adfd457
1 changed files with 4 additions and 2 deletions

View File

@ -26,10 +26,12 @@ import static java.lang.annotation.ElementType.METHOD;
* For example: * For example:
* <pre> * <pre>
* {@code * {@code
* @Entity public class Person { * @Entity
* public class Person {
* *
* @Column(name = "birth_timestamp")
* @TimeZoneColumn(name = "birth_zone")
* @TimeZoneStorage(COLUMN) * @TimeZoneStorage(COLUMN)
* @TimeZoneColumn(column = @Column(...))
* public OffsetDateTime birthDate; * public OffsetDateTime birthDate;
* *
* @TimeZoneStorage(NATIVE) * @TimeZoneStorage(NATIVE)