-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[jdbc] Upgrade MySQL JDBC driver to 8.0.30 #13242
Conversation
Signed-off-by: Jacob Laursen <[email protected]>
Investigating rule errors that started to show: It might be related to the way I installed the bundle, so will now try to install 8.0.28 the same way. |
It happens also when using version from main branch with connector 8.0.28 installed the same way. So something is wrong with the way I'm testing it (on a 3.3 system). Good news is that so far I have not found any issues (besides this one), bad news is that I have not been able to fully test this upgrade. Items are persisted when updated and restored on startup - that much I was able to verify. |
@kaikreuzer - should mysql-connector-java also be uploaded to jfrog for this upgrade to work? |
@jlaur I guess so, yes, and I just uploaded it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not think your errors are related to this upgrade.
Moving two digits higher on the patch level should hopefully not have any negative impact, so I'd suggest to merge.
Signed-off-by: Jacob Laursen <[email protected]>
@kaikreuzer - unfortunately I'm now seeing this after upgrading to M2:
I'll need some time to understand this problem. Any ideas would be much appreciated. DSL rule line triggering this problem:
Persistence table for item Anyone_Home is defined with Time column of type DATETIME. |
@jlaur I just had a look in the code and the only place where there is a cast to Lines 566 to 572 in ddd2531
Maybe the lib changed to now return |
Thank you @kaikreuzer for pointing to this place in the code, it looks quite related indeed. I'll try to fix and test this in the evening. I also found this article: https://dev.mysql.com/blog-archive/support-for-date-time-types-in-connector-j-8-0/ which perhaps provides some more context. The POM upgrade was 8.0.28 to 8.0.30, but actually the feature.xml was at 8.0.22, so before 8.0.23. |
@kaikreuzer - you hit the nail on the head. Thanks a lot! I have created #13382 for fixing this problem. |
Excellent - glad I could help! |
Signed-off-by: Jacob Laursen <[email protected]>
Signed-off-by: Jacob Laursen <[email protected]>
Signed-off-by: Jacob Laursen <[email protected]> Signed-off-by: Andras Uhrin <[email protected]>
Signed-off-by: Jacob Laursen <[email protected]>
Signed-off-by: Jacob Laursen <[email protected]>
Signed-off-by: Jacob Laursen <[email protected]>
See
Tested by installing compiled bundle as well as mysql-connector into addons directory:
Then checking in database that items are persisted after the upgrade.