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.AUTO
andTimeZoneStorageType.COLUMN
. The column is simply ignored ifTimeZoneStorageType.AUTO
is used and the database supports native time zone storage.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description TimeZoneType
type
The 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
-
-