Package org.hibernate.annotations
Annotation Type TimeZoneColumn
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface TimeZoneColumn
Specifies the column name and type to use for storing the time zone information. The annotation can be used in conjunction with theTimeZoneStorageType.AUTOandTimeZoneStorageType.COLUMN. The column is simply ignored ifTimeZoneStorageType.AUTOis used and the database supports native time zone storage.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description TimeZoneTypetypeThe storage type for the time zone information.
-
-
-
Element Detail
-
column
Column column
The column for the time zone information.
-
-
-
type
TimeZoneType type
The storage type for the time zone information.- Default:
- org.hibernate.annotations.TimeZoneType.OFFSET
-
-