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: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 8.0.21 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[22 Jul 2020 15:55]
Björn Voigt
[22 Jul 2020 21:14]
Björn Voigt
This demo shows the bug with Connector/J 8.0.20 and 8.0.21 (works with 8.0.19)
Attachment: ConnectorJBug100294.java (text/x-java), 1.74 KiB.
[22 Jul 2020 21:15]
Björn Voigt
The stracktrace for ConnectorJBug100294.java
Attachment: ConnectorJBug100294-stacktrace.log (text/x-log), 2.42 KiB.