Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

mysql-connector 8.0.32 exception : java.lang.IllegalArgumentException: HOUR_OF_DAY: 2 -> 3 (3 replies)

$
0
0
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);"

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>