Bug #38244 | PreparedStatement.setBytes() can't be used for data type BIT(>1) in where clause | ||
---|---|---|---|
Submitted: | 20 Jul 2008 1:57 | Modified: | 4 Aug 2008 9:47 |
Reporter: | Yiping Wang | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.1.6 | OS: | Any (winXP+SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | BIT(>1), setBytes(), where clause |
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
[30 Jul 2008 9:35]
Tonci Grgin
[4 Aug 2008 6:35]
Yiping Wang
my test code. please review it.
Attachment: TestBug38244.java (application/octet-stream, text), 4.17 KiB.