Did JDBC set the database session timezone for the Java virtual machine?

According to the JDBC 4.0 Specification , JDBC set the database session time zone to the value of the Java virtual machine (i.e. TimeZone#getDefault())?

+3
source share
1 answer

No, JDBC does not do this by default, but it is possible that the database driver does this. Take a look at the documents of your specific driver.

+2
source

Source: https://habr.com/ru/post/1773602/


All Articles