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, NATIVE,
/** /**
* Does not store the time zone, and instead normalizes * Does not store the time zone, and instead:
* timestamps to the JDBC timezone. * <ul>
* <p> * <li>normalizes JDBC timestamps to the
* Provided for backward compatibility with older versions * {@linkplain org.hibernate.cfg.AvailableSettings#JDBC_TIME_ZONE
* of Hibernate * 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, NORMALIZE,
/** /**