Bug #7547 | PreparedStatement setBytes, setBinaryStream garbles binary data | ||
---|---|---|---|
Submitted: | 27 Dec 2004 17:47 | Modified: | 5 Jan 2005 18:47 |
Reporter: | David Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S1 (Critical) |
Version: | 3.0.16 and up | OS: | MacOS (Mac OS X) |
Assigned to: | CPU Architecture: | Any |
[27 Dec 2004 17:47]
David Smith
[27 Dec 2004 18:23]
Mark Matthews
We'd need the exact contents of the file that gets garbled, as well as the character encodings that you're using. We test prepared statements with randomized binary and other known 'problematic' inputs as part of our regular testsuites, so it sounds like this is related to either your character encoding and/or the specific data sequences in the files you are using.
[27 Dec 2004 20:35]
David Smith
OK, this was NOT a bug in your stuff. Please close the bug report and accept my apologies. I have been using your code for years and it is the best. Dave Smith
[5 Jan 2005 18:47]
Mark Matthews
Thanks for reporting back, and the accolades. Happy new year!