MySQL Connector/J 8.0.23 でタイムゾーン変換メカニズムが変更になった
Important Change: A new mechanism has been introduced for users to configure how time zone conversions should occur when time instants are saved to or retrieved from a server by Connector/J.
影響を受ける典型的な例としては、 DBサーバとクライアントで異なるタイムゾーンで動いている場合 です。
次のリンク先では、DBサーバが UTC, クライアント(mysql-connector-java
を利用しているSpring Boot)が JST で動作している環境で検証を行いました。
具体的にどのような挙動になるのかを確認できます。