mysql-server version: 8.0.32
mysql-connector version: 8.0.32
details :
1. we deploy two database nodes (for example, A and B).
2. one is CST,and the other is PDT.
3. data sync from A to B;
when A has a record with dateTime : 2023-03-12 02:45:00, this field data will be sync to B。
and query from B has "java.lang.IllegalArgumentException: HOUR_OF_DAY: 2 -> 3" happend.
#com.mysql.cj.result.SqlTimestampValueFactory#localCreateFromDate
- can delete "c.setLenient(false);"
mysql-connector version: 8.0.32
details :
1. we deploy two database nodes (for example, A and B).
2. one is CST,and the other is PDT.
3. data sync from A to B;
when A has a record with dateTime : 2023-03-12 02:45:00, this field data will be sync to B。
and query from B has "java.lang.IllegalArgumentException: HOUR_OF_DAY: 2 -> 3" happend.
#com.mysql.cj.result.SqlTimestampValueFactory#localCreateFromDate
- can delete "c.setLenient(false);"