Bug #4860 Unsigned types returned incorrectly from RSMD.getColumnTypeName().
Submitted: 2 Aug 2004 23:25 Modified: 3 Aug 2004 0:15
Reporter: Mark Matthews Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version: OS:
Assigned to: Mark Matthews CPU Architecture:Any

[2 Aug 2004 23:25] Mark Matthews
Description:
ResultSetMetaData returns 'long' (should be 'integer') for integer types, 'longlong' for long types (should be 'long'), as it is using the 'protocol'-level type names (not database type names). Also, the unsigned bit is not honored.

(this is all related to BUG#4138).

How to repeat:
Create a table with the 'integer' type in it and/or an 'unsigned integer', and use RSMD.getColumnTypeName() and look for the correct type to be returned.
[3 Aug 2004 0:15] Mark Matthews
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html