Bug #98695 Execution of "LOAD DATA LOCAL INFILE" command through JDBC for datetime column
| Submitted: | 20 Feb 2020 16:26 | Modified: | 12 Jan 2021 19:19 |
|---|---|---|---|
| Reporter: | amod m | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / J | Severity: | S2 (Serious) |
| Version: | 8.0.18, 8.0.19 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Retrieval of Datetime column value for data ingested through LOAD DATA LOCAL INF | ||
[20 Feb 2020 16:26]
amod m
[20 Feb 2020 16:31]
amod m
Java test code
Attachment: TestLoadInFileMySql8.java (text/x-java), 2.93 KiB.
[27 Feb 2020 10:50]
MySQL Verification Team
Hello amod m, Thank you for the report and feedback. regards, Umesh
[27 Feb 2020 10:50]
MySQL Verification Team
Test results - 8.0.19, 5.1.48
Attachment: 98695.results (application/octet-stream, text), 6.91 KiB.
[12 Jan 2021 19:19]
Daniel So
Posted by developer: Added the following entry to the C/J 8.0.23 changelog: "After upgrading from Connector/J 5.1 to 8.0, timestamps for a period when Daylight Saving Time was in effect were incorrect when they were saved and then retrieved from the server by Connector/J. It was because while Connector/J 5.1 does not preserve a time instant by default, Connector/J 8.0.22 and earlier tried to so by converting a timestamp to the server's session time zone before sending its value to the server. In this release, new mechanisms for controlling timezone conversion has been introduced—see Preserving Time Instants for details. Under this new mechanism, the default behavior of Connector/J 5.1 in this respect is preserved by setting the connection property preserveInstants=false."
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.072 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.