Bug #25328 | Resultset.getObject on a BIT(64) type returns java.lang.String | ||
---|---|---|---|
Submitted: | 29 Dec 2006 11:15 | Modified: | 13 Apr 2007 8:37 |
Reporter: | Neha Khaitan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 3.1.15SVN | OS: | Windows (Windows XP Professional SP2) |
Assigned to: | CPU Architecture: | Any |
[29 Dec 2006 11:15]
Neha Khaitan
[29 Dec 2006 13:34]
Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 3.1.14, and inform about the results.
[2 Jan 2007 8:55]
Neha Khaitan
Hi, I tried the same with mysql connector/j 3.1.14. It still throws ClassCastException.
[26 Mar 2007 13:17]
Tonci Grgin
Hi Neha and thanks for your report. According to http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-type-conversions.html we have a bug. Verified as described with attached test case on - MySQL server 5.0.38BK on WinXP Pro SP2 localhost - c/J 3.1.15SVN and JDK 1.5.0_10
[26 Mar 2007 13:18]
Tonci Grgin
Test case
Attachment: TestBug25328.java (text/x-java), 1.94 KiB.
[26 Mar 2007 15:06]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/22942
[26 Mar 2007 15:13]
Mark Matthews
This is fixed in the 5.0 branch. It is not the class of bug that would make it into the "legacy" release of 3.1.
[13 Apr 2007 8:37]
MC Brown
A note has been added to the 5.0.6 changelog.