Bug #100294 Connector/J produces NPE when saving a Date with prepared statements

Submitted: 22 Jul 2020 15:52 Modified: 9 Sep 2020 10:30
Reporter: Björn Voigt (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version:8.0.21 OS:Any
Assigned to: CPU Architecture:Any

Contributions can be accepted to Open bugs only.

[3 Aug 2020 19:33] Björn Voigt
The patch ensures, that cacheDefaultTimezone and defaultTimeZone are copied

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: clone-cacheDefaultTimezone-and-defaultTimeZone.patch (text/x-patch), 585 bytes.

[3 Aug 2020 19:34] Björn Voigt
This demo shows the bug with Connector/J 8.0.20 and 8.0.21 (works with 8.0.19)

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: ConnectorJBug100294.java (text/x-java), 1.74 KiB.

[20 Aug 2020 22:44] OCA Admin
Contribution submitted via Github - Fix for Bug #100294 
(*) Contribution by Björn Voigt (Github bjoernv, mysql-connector-j/pull/53#issuecomment-677935479): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: git_patch_471199920.txt (text/plain), 1.24 KiB.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.