clarify semantics of NORMALIZE

This commit is contained in:
Gavin 2022-12-07 17:11:31 +01:00 committed by Gavin King
parent 5e9b57cf40
commit 86ef33d55b
1 changed files with 10 additions and 5 deletions

View File

@ -74,11 +74,16 @@ public enum TimeZoneStorageType {
*/
NATIVE,
/**
* Does not store the time zone, and instead normalizes
* timestamps to the JDBC timezone.
* <p>
* Provided for backward compatibility with older versions
* of Hibernate
* Does not store the time zone, and instead:
* <ul>
* <li>normalizes JDBC timestamps to the
* {@linkplain org.hibernate.cfg.AvailableSettings#JDBC_TIME_ZONE
* JDBC timezone}, if set, or
* <li>passes them through in the JVM default time zone
* otherwise.
* </ul>
* Provided partly for backward compatibility with older
* versions of Hibernate
*/
NORMALIZE,
/**