Tagged articles

Connector/J

5 articles · Page 1 of 1
IT Services Circle
IT Services Circle
Sep 20, 2026 · Databases

MySQL 8 Timezone Bug Exposed: Why Timestamps Shift Before 8.0.23

This article details MySQL Connector/J's timezone handling bug in versions 8.0.0-8.0.22, explains key JDBC parameters like serverTimezone and preserveInstants, and provides best-practice configurations to avoid timestamp shifts and zero-date errors when upgrading from MySQL 5.1.

Best PracticesConnector/JJDBC
0 likes · 16 min read
MySQL 8 Timezone Bug Exposed: Why Timestamps Shift Before 8.0.23
Programmer DD
Programmer DD
Jun 22, 2022 · Databases

Why Did My Spring @Transactional Rollback Fail? Uncovering a MySQL Connector Bug

An in‑depth investigation reveals that Spring’s @Transactional rollback can silently fail due to a bug in mysql‑connector‑java 8.0.28 when useLocalSessionState=true, causing auto‑commit to stay enabled; the article explains the root cause, debugging steps, and how upgrading to 8.0.29 resolves the issue.

Connector/JMySQLautoCommit
0 likes · 14 min read
Why Did My Spring @Transactional Rollback Fail? Uncovering a MySQL Connector Bug
政采云技术
政采云技术
Dec 7, 2021 · Databases

Analysis of MySQL Connector/J Character Set Handling and UTF8MB4 Support

This article examines how MySQL Connector/J determines the character set during connection initialization, explains the transition from UTF8MB3 to UTF8MB4, analyzes source code of versions 5.1.46 and 5.1.47, and provides practical methods to enable UTF8MB4 without upgrading the driver.

Connector/JJavaMySQL
0 likes · 10 min read
Analysis of MySQL Connector/J Character Set Handling and UTF8MB4 Support