fix code example in TimeZoneStorage
This commit is contained in:
parent
b293a6b2ac
commit
939adfd457
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue