hibernate.jdbc.time_zone is not reflected in logs in o.h.type.descriptor.sql.BasicBinde

Description

I set the

and see that in the database the time is in UTC, while in logs it's in my JVM timezone.

Environment

None

Activity

Show:
Vlad Mihalcea
January 25, 2018, 8:44 AM

The log will always print the Date or Timestamp using the toString() method which uses the JVM TimeZone.

However, this is not an issue since you can just print the JDBC-level logs and see what methods get called.

Assignee

Unassigned

Reporter

Sam Kruglov

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Minor
Configure