Interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitMapping.Timezone
- Enclosing interface:
HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitMapping
public static interface HibernateOrmConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitMapping.Timezone
-
Method Summary
Modifier and TypeMethodDescriptionHow to store timezones in the database by default for properties of type `OffsetDateTime` and `ZonedDateTime`.
-
Method Details
-
timeZoneDefaultStorage
@WithName("default-storage") @ConfigDocDefault("default") Optional<HibernateOrmConfigPersistenceUnit.HibernateTimeZoneStorageType> timeZoneDefaultStorage()How to store timezones in the database by default for properties of type `OffsetDateTime` and `ZonedDateTime`. This default may be overridden on a per-property basis using `@TimeZoneStorage`. NOTE: Properties of type `OffsetTime` are https://hibernate.atlassian.net/browse/HHH-16287[not affected by this setting].
-