The following are some known issues and limitations for MySQL Connector/J:
When Connector/J retrieves timestamps for a daylight saving
time (DST) switch day using the
getTimeStamp()
method on the result set,
some of the returned values might be wrong. The errors can be
avoided by using the following connection options when
connecting to a database:
useTimezone=true useLegacyDatetimeCode=false serverTimezone=UTC